From f3bb79714f3767aa92a75467d34ac0dfee73a21b Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 24 Jun 1996 20:44:12 +0000 Subject: (diskfs_S_fsys_getroot): Use diskfs_check_readonly instead of diskfs_readonly. --- libdiskfs/fsys-getroot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libdiskfs/fsys-getroot.c b/libdiskfs/fsys-getroot.c index 13881547..9db349c9 100644 --- a/libdiskfs/fsys-getroot.c +++ b/libdiskfs/fsys-getroot.c @@ -143,7 +143,7 @@ diskfs_S_fsys_getroot (fsys_t controlport, { if (type == S_IFDIR) error = EISDIR; - else if (diskfs_readonly) + else if (diskfs_check_readonly ()) error = EROFS; else error = diskfs_access (diskfs_root_node, S_IWRITE, &pseudocred); -- cgit v1.2.3