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_kernfs Pull up revision 1.11:
details: https://anonhg.NetBSD.org/src/rev/fafc611ccd74
branches: netbsd-1-4
changeset: 469336:fafc611ccd74
user: he <he%NetBSD.org@localhost>
date: Sun Sep 05 15:09:54 1999 +0000
description:
Pull up revision 1.11:
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_kernfs/mount_kernfs.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 98d7e5e07685 -r fafc611ccd74 sbin/mount_kernfs/mount_kernfs.c
--- a/sbin/mount_kernfs/mount_kernfs.c Sun Sep 05 15:08:53 1999 +0000
+++ b/sbin/mount_kernfs/mount_kernfs.c Sun Sep 05 15:09:54 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mount_kernfs.c,v 1.10 1997/09/16 12:29:16 lukem Exp $ */
+/* $NetBSD: mount_kernfs.c,v 1.10.4.1 1999/09/05 15:09:54 he Exp $ */
/*
* Copyright (c) 1990, 1992 Jan-Simon Pendry
@@ -47,7 +47,7 @@
#if 0
static char sccsid[] = "@(#)mount_kernfs.c 8.3 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: mount_kernfs.c,v 1.10 1997/09/16 12:29:16 lukem Exp $");
+__RCSID("$NetBSD: mount_kernfs.c,v 1.10.4.1 1999/09/05 15:09:54 he Exp $");
#endif
#endif /* not lint */
@@ -94,7 +94,7 @@
usage();
if (mount(MOUNT_KERNFS, argv[1], mntflags, NULL))
- err(1, "%s", "");
+ err(1, "kernfs on %s", argv[1]);
exit(0);
}
Home |
Main Index |
Thread Index |
Old Index