diff options
Diffstat (limited to 'libdiskfs/priv.h')
-rw-r--r-- | libdiskfs/priv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/priv.h b/libdiskfs/priv.h index fca32d16..032d7d09 100644 --- a/libdiskfs/priv.h +++ b/libdiskfs/priv.h @@ -120,7 +120,7 @@ extern fshelp_fetch_root_callback2_t _diskfs_translator_callback2; if (!(PROTID)) \ return EOPNOTSUPP; \ \ - if (diskfs_readonly) \ + if (diskfs_check_readonly ()) \ return EROFS; \ \ np = (PROTID)->po->np; \ |