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_filecore Pull up revision 1.2:
details: https://anonhg.NetBSD.org/src/rev/98d7e5e07685
branches: netbsd-1-4
changeset: 469335:98d7e5e07685
user: he <he%NetBSD.org@localhost>
date: Sun Sep 05 15:08:53 1999 +0000
description:
Pull up revision 1.2:
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_filecore/mount_filecore.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r d7837ade9002 -r 98d7e5e07685 sbin/mount_filecore/mount_filecore.c
--- a/sbin/mount_filecore/mount_filecore.c Sun Sep 05 15:07:35 1999 +0000
+++ b/sbin/mount_filecore/mount_filecore.c Sun Sep 05 15:08:53 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mount_filecore.c,v 1.1 1998/08/14 03:38:51 mark Exp $ */
+/* $NetBSD: mount_filecore.c,v 1.1.2.1 1999/09/05 15:08:53 he Exp $ */
/*
* Copyright (c) 1998 Andrew McMurry
@@ -138,7 +138,7 @@
args.flags = opts;
if (mount(MOUNT_FILECORE, dir, mntflags, &args) < 0)
- err(1, "%s", "");
+ err(1, "%s on %s", dev, dir);
exit(0);
}
Home |
Main Index |
Thread Index |
Old Index