summaryrefslogtreecommitdiff
path: root/ufs
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-02-23 20:27:01 +0000
committerRoland McGrath <roland@gnu.org>1996-02-23 20:27:01 +0000
commitf1252fc5a35fb7d35ed65af7246b1a7a6b2de900 (patch)
tree5c2c894fb07e6ae949be346bfbf516c678216bad /ufs
parent5c4ebe02f4690fc2679bd85d376870b7c3e05704 (diff)
(get_hypermetadata): Use diskfs_device_arg in unclean msgs.
Diffstat (limited to 'ufs')
-rw-r--r--ufs/hyper.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/ufs/hyper.c b/ufs/hyper.c
index fc2bb1ed..be51b360 100644
--- a/ufs/hyper.c
+++ b/ufs/hyper.c
@@ -82,11 +82,15 @@ get_hypermetadata (void)
ufs_clean = sblock->fs_clean;
if (! ufs_clean)
{
- error (0, 0, "warning: FILESYSTEM NOT UNMOUNTED CLEANLY; PLEASE fsck");
+ error (0, 0,
+ "%s: warning: FILESYSTEM NOT UNMOUNTED CLEANLY; PLEASE fsck",
+ diskfs_device_arg);
if (! diskfs_readonly)
{
diskfs_readonly = 1;
- error (0, 0, "MOUNTED READ-ONLY; MUST USE `fsysopts --writable'");
+ error (0, 0,
+ "%s: MOUNTED READ-ONLY; MUST USE `fsysopts --writable'",
+ diskfs_device_arg);
}
}