From c932385dfcb5ff1d4628e5b6fdb30c49988647ed Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 21 Jul 1995 21:39:46 +0000 Subject: (_diskfs_translator_callback_fn): Use correct sense of diskfs_readonly flag. --- libdiskfs/trans-callback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdiskfs') diff --git a/libdiskfs/trans-callback.c b/libdiskfs/trans-callback.c index 0c2e438c..4d48078a 100644 --- a/libdiskfs/trans-callback.c +++ b/libdiskfs/trans-callback.c @@ -46,7 +46,7 @@ _diskfs_translator_callback_fn (void *cookie1, void *cookie2, newpi = diskfs_make_protid (diskfs_make_peropen (np, (O_READ|O_EXEC - | (diskfs_readonly + | (!diskfs_readonly ? O_WRITE : 0)), *dotdot), uid, 1, gid, 1); -- cgit v1.2.3