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_procfs Pull up revision 1.10:



details:   https://anonhg.NetBSD.org/src/rev/5f7166cd2290
branches:  netbsd-1-4
changeset: 469341:5f7166cd2290
user:      he <he%NetBSD.org@localhost>
date:      Sun Sep 05 15:17:32 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_procfs/mount_procfs.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7dce61abd311 -r 5f7166cd2290 sbin/mount_procfs/mount_procfs.c
--- a/sbin/mount_procfs/mount_procfs.c  Sun Sep 05 15:16:25 1999 +0000
+++ b/sbin/mount_procfs/mount_procfs.c  Sun Sep 05 15:17:32 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mount_procfs.c,v 1.9 1997/09/16 12:32:04 lukem Exp $   */
+/*     $NetBSD: mount_procfs.c,v 1.9.4.1 1999/09/05 15:17:32 he Exp $  */
 
 /*
  * Copyright (c) 1990, 1992, 1993 Jan-Simon Pendry
@@ -47,7 +47,7 @@
 #if 0
 static char sccsid[] = "@(#)mount_procfs.c     8.4 (Berkeley) 4/26/95";
 #else
-__RCSID("$NetBSD: mount_procfs.c,v 1.9 1997/09/16 12:32:04 lukem Exp $");
+__RCSID("$NetBSD: mount_procfs.c,v 1.9.4.1 1999/09/05 15:17:32 he Exp $");
 #endif
 #endif /* not lint */
 
@@ -94,7 +94,7 @@
                usage();
 
        if (mount(MOUNT_PROCFS, argv[1], mntflags, NULL))
-               err(1, "%s", "");
+               err(1, "procfs on %s", argv[1]);
        exit(0);
 }
 



Home | Main Index | Thread Index | Old Index