diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-06-24 20:45:19 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-06-24 20:45:19 +0000 |
commit | ae11f05490af379f1752babfa879472aca7463c8 (patch) | |
tree | 9214b8e0b026262106531b810b6f0289bb99df2d /libdiskfs | |
parent | f3bb79714f3767aa92a75467d34ac0dfee73a21b (diff) |
(diskfs_create_node): Use diskfs_check_readonly instead of diskfs_readonly.
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/node-create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/node-create.c b/libdiskfs/node-create.c index e6179906..3f8dc4c1 100644 --- a/libdiskfs/node-create.c +++ b/libdiskfs/node-create.c @@ -37,7 +37,7 @@ diskfs_create_node (struct node *dir, uid_t newuid; gid_t newgid; - if (diskfs_readonly) + if (diskfs_check_readonly ()) return EROFS; /* Make the node */ |