summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-09-23 17:17:06 +0000
committerMiles Bader <miles@gnu.org>1996-09-23 17:17:06 +0000
commit412fd4930257cf5e0ccafb0cb5fd15e1c34dab91 (patch)
tree118231fc59ccce7d2fa9385d36a4d71688f4c7f1
parenta0f24c2da95fe0a36ed5800eae4c219e1bd90316 (diff)
(diskfs_check_readonly):
Use DISKFS_DISK_NAME instead of DISKFS_DEVICE_ARG.
-rw-r--r--libdiskfs/readonly.c2
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;
}