diff options
-rw-r--r-- | libdiskfs/readonly.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/readonly.c b/libdiskfs/readonly.c index 17ed312e..5d5d9ba0 100644 --- a/libdiskfs/readonly.c +++ b/libdiskfs/readonly.c @@ -43,7 +43,7 @@ diskfs_check_readonly () { error (0, 0, "%s: MEDIA NOT WRITABLE; switching to READ-ONLY", - diskfs_device_arg); + diskfs_disk_name ?: "-"); diskfs_readonly = 1; return 1; } |