From d716d47a7a38cad7da22719e687a9c7b00867486 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 24 Jun 1996 20:36:44 +0000 Subject: (iohelp_fetch_shared_data): Use diskfs_check_readonly instead of diskfs_readonly. --- libdiskfs/conch-fetch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libdiskfs') diff --git a/libdiskfs/conch-fetch.c b/libdiskfs/conch-fetch.c index 178c8d11..9d31265c 100644 --- a/libdiskfs/conch-fetch.c +++ b/libdiskfs/conch-fetch.c @@ -39,7 +39,7 @@ iohelp_fetch_shared_data (void *arg) { /* The user can validly set the size, but block the attempt if we are readonly. */ - if (diskfs_readonly) + if (diskfs_check_readonly ()) cred->mapped->file_size = cred->po->np->dn_stat.st_size; else { @@ -51,7 +51,7 @@ iohelp_fetch_shared_data (void *arg) cred->po->filepointer = cred->mapped->xx_file_pointer; - if (!diskfs_readonly) + if (!diskfs_check_readonly ()) { if (cred->mapped->written) { -- cgit v1.2.3