Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sbin/mount_null Pull up revision 1.6:
details: https://anonhg.NetBSD.org/src/rev/7dce61abd311
branches: netbsd-1-4
changeset: 469340:7dce61abd311
user: he <he%NetBSD.org@localhost>
date: Sun Sep 05 15:16:25 1999 +0000
description:
Pull up revision 1.6:
Regularize error reporting of mount_* commands for failure of
mount(2) to the form "mount_xxx: dev on dir: reason for failure"
(as opposed to the old "mount_xxx: : reason for failure").
(perseant)
diffstat:
sbin/mount_null/mount_null.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f10597fd4edc -r 7dce61abd311 sbin/mount_null/mount_null.c
--- a/sbin/mount_null/mount_null.c Sun Sep 05 15:15:11 1999 +0000
+++ b/sbin/mount_null/mount_null.c Sun Sep 05 15:16:25 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mount_null.c,v 1.5 1997/09/16 12:31:02 lukem Exp $ */
+/* $NetBSD: mount_null.c,v 1.5.4.1 1999/09/05 15:16:25 he Exp $ */
/*
* Copyright (c) 1992, 1993, 1994
@@ -46,7 +46,7 @@
#if 0
static char sccsid[] = "@(#)mount_null.c 8.6 (Berkeley) 4/26/95";
#else
-__RCSID("$NetBSD: mount_null.c,v 1.5 1997/09/16 12:31:02 lukem Exp $");
+__RCSID("$NetBSD: mount_null.c,v 1.5.4.1 1999/09/05 15:16:25 he Exp $");
#endif
#endif /* not lint */
@@ -106,7 +106,7 @@
args.target = target;
if (mount(MOUNT_NULL, argv[1], mntflags, &args))
- err(1, "%s", "");
+ err(1, "%s on %s", target, argv[1]);
exit(0);
}
Home |
Main Index |
Thread Index |
Old Index