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_fdesc Pull up revision 1.10:
details: https://anonhg.NetBSD.org/src/rev/d7837ade9002
branches: netbsd-1-4
changeset: 469334:d7837ade9002
user: he <he%NetBSD.org@localhost>
date: Sun Sep 05 15:07:35 1999 +0000
description:
Pull up revision 1.10:
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_fdesc/mount_fdesc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 301edaba3aac -r d7837ade9002 sbin/mount_fdesc/mount_fdesc.c
--- a/sbin/mount_fdesc/mount_fdesc.c Sun Sep 05 15:05:49 1999 +0000
+++ b/sbin/mount_fdesc/mount_fdesc.c Sun Sep 05 15:07:35 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mount_fdesc.c,v 1.9 1997/09/16 12:26:56 lukem Exp $ */
+/* $NetBSD: mount_fdesc.c,v 1.9.4.1 1999/09/05 15:07:35 he Exp $ */
/*
* Copyright (c) 1990, 1992 Jan-Simon Pendry
@@ -47,7 +47,7 @@
#if 0
static char sccsid[] = "@(#)mount_fdesc.c 8.3 (Berkeley) 4/26/95";
#else
-__RCSID("$NetBSD: mount_fdesc.c,v 1.9 1997/09/16 12:26:56 lukem Exp $");
+__RCSID("$NetBSD: mount_fdesc.c,v 1.9.4.1 1999/09/05 15:07:35 he Exp $");
#endif
#endif /* not lint */
@@ -94,7 +94,7 @@
usage();
if (mount(MOUNT_FDESC, argv[1], mntflags, NULL))
- err(1, "%s", "");
+ err(1, "fdesc on %s", argv[1]);
exit(0);
}
Home |
Main Index |
Thread Index |
Old Index