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_umap Pull up revision 1.9:
details: https://anonhg.NetBSD.org/src/rev/e48700951849
branches: netbsd-1-4
changeset: 469342:e48700951849
user: he <he%NetBSD.org@localhost>
date: Sun Sep 05 15:18:52 1999 +0000
description:
Pull up revision 1.9:
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_umap/mount_umap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5f7166cd2290 -r e48700951849 sbin/mount_umap/mount_umap.c
--- a/sbin/mount_umap/mount_umap.c Sun Sep 05 15:17:32 1999 +0000
+++ b/sbin/mount_umap/mount_umap.c Sun Sep 05 15:18:52 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mount_umap.c,v 1.7.4.1 1999/06/21 23:16:22 perry Exp $ */
+/* $NetBSD: mount_umap.c,v 1.7.4.2 1999/09/05 15:18:52 he Exp $ */
/*
* Copyright (c) 1992, 1993, 1994
@@ -46,7 +46,7 @@
#if 0
static char sccsid[] = "@(#)mount_umap.c 8.5 (Berkeley) 4/26/95";
#else
-__RCSID("$NetBSD: mount_umap.c,v 1.7.4.1 1999/06/21 23:16:22 perry Exp $");
+__RCSID("$NetBSD: mount_umap.c,v 1.7.4.2 1999/09/05 15:18:52 he Exp $");
#endif
#endif /* not lint */
@@ -230,7 +230,7 @@
args.gmapdata = gmapdata;
if (mount(MOUNT_UMAP, argv[1], mntflags, &args))
- err(1, "%s", "");
+ err(1, "%s on %s", source, argv[1]);
exit(0);
}
Home |
Main Index |
Thread Index |
Old Index