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_union Pull up revision 1.6:



details:   https://anonhg.NetBSD.org/src/rev/8bf0fb2a9bbe
branches:  netbsd-1-4
changeset: 469343:8bf0fb2a9bbe
user:      he <he%NetBSD.org@localhost>
date:      Sun Sep 05 15:19:50 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_union/mount_union.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e48700951849 -r 8bf0fb2a9bbe sbin/mount_union/mount_union.c
--- a/sbin/mount_union/mount_union.c    Sun Sep 05 15:18:52 1999 +0000
+++ b/sbin/mount_union/mount_union.c    Sun Sep 05 15:19:50 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mount_union.c,v 1.5 1997/09/16 12:32:54 lukem Exp $    */
+/*     $NetBSD: mount_union.c,v 1.5.4.1 1999/09/05 15:19:50 he Exp $   */
 
 /*
  * Copyright (c) 1992, 1993, 1994
@@ -46,7 +46,7 @@
 #if 0
 static char sccsid[] = "@(#)mount_union.c      8.6 (Berkeley) 4/26/95";
 #else
-__RCSID("$NetBSD: mount_union.c,v 1.5 1997/09/16 12:32:54 lukem Exp $");
+__RCSID("$NetBSD: mount_union.c,v 1.5.4.1 1999/09/05 15:19:50 he Exp $");
 #endif
 #endif /* not lint */
 
@@ -117,7 +117,7 @@
        args.target = target;
 
        if (mount(MOUNT_UNION, argv[1], mntflags, &args))
-               err(1, "%s", "");
+               err(1, "%s on %s", target, argv[1]);
        exit(0);
 }
 



Home | Main Index | Thread Index | Old Index