summaryrefslogtreecommitdiff
path: root/ufs-utils/mkfs.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-04-03 21:34:56 +0000
committerMiles Bader <miles@gnu.org>1996-04-03 21:34:56 +0000
commit559ee1ac7a21c141803ecdd1d049660e5966fda8 (patch)
tree4c59e0bcf37e6d989aa4ce648a1ccc781e4d5311 /ufs-utils/mkfs.c
parent10e96852ee6a656dd19e4103089f7ce0e516a3ca (diff)
(main): In `Can't get disklabel' error message, specify
which flag the user can use to supply the needed information. (mkfs): Fiddle with info message.
Diffstat (limited to 'ufs-utils/mkfs.c')
-rw-r--r--ufs-utils/mkfs.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/ufs-utils/mkfs.c b/ufs-utils/mkfs.c
index f8668277..e585b598 100644
--- a/ufs-utils/mkfs.c
+++ b/ufs-utils/mkfs.c
@@ -33,7 +33,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)mkfs.c 8.3 (Berkeley) 2/3/94";*/
-static char *rcsid = "$Id: mkfs.c,v 1.9 1996/03/29 17:24:11 miles Exp $";
+static char *rcsid = "$Id: mkfs.c,v 1.10 1996/04/03 21:34:56 miles Exp $";
#endif /* not lint */
#include <unistd.h>
@@ -333,7 +333,9 @@ main (int argc, char **argv)
label = &label_buf;
}
if (label_err && param_name)
- error (9, label_err, "%s: Can't get disklabel", device);
+ error (9, label_err,
+ "%s: Can't get disklabel; please specify --%s",
+ device, param_name);
}
return label;
}
@@ -874,7 +876,7 @@ next:
* Now build the cylinders group blocks and
* then print out indices of cylinder groups.
*/
- printf(" super-block backups (for fsck -b #) at:");
+ printf("\tsuperblock backups at:");
for (cylno = 0; cylno < sblock.fs_ncg; cylno++) {
initcg(cylno, utime);
if (cylno % 8 == 0)