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_cd9660 Pull up revision 1.8:



details:   https://anonhg.NetBSD.org/src/rev/301edaba3aac
branches:  netbsd-1-4
changeset: 469333:301edaba3aac
user:      he <he%NetBSD.org@localhost>
date:      Sun Sep 05 15:05:49 1999 +0000

description:
Pull up revision 1.8:
  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_cd9660/mount_cd9660.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 39b1a8a4b86f -r 301edaba3aac sbin/mount_cd9660/mount_cd9660.c
--- a/sbin/mount_cd9660/mount_cd9660.c  Sun Sep 05 15:03:45 1999 +0000
+++ b/sbin/mount_cd9660/mount_cd9660.c  Sun Sep 05 15:05:49 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mount_cd9660.c,v 1.6 1998/03/01 02:20:17 fvdl Exp $    */
+/*     $NetBSD: mount_cd9660.c,v 1.6.2.1 1999/09/05 15:05:49 he Exp $  */
 
 /*
  * Copyright (c) 1992, 1993, 1994
@@ -50,7 +50,7 @@
 #if 0
 static char sccsid[] = "@(#)mount_cd9660.c     8.7 (Berkeley) 5/1/95";
 #else
-__RCSID("$NetBSD: mount_cd9660.c,v 1.6 1998/03/01 02:20:17 fvdl Exp $");
+__RCSID("$NetBSD: mount_cd9660.c,v 1.6.2.1 1999/09/05 15:05:49 he Exp $");
 #endif
 #endif /* not lint */
 
@@ -124,7 +124,7 @@
        args.flags = opts;
 
        if (mount(MOUNT_CD9660, dir, mntflags, &args) < 0)
-               err(1, "%s", "");
+               err(1, "%s on %s", dev, dir);
        exit(0);
 }
 



Home | Main Index | Thread Index | Old Index