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_msdos Pull up revision 1.20:
details: https://anonhg.NetBSD.org/src/rev/28a118dbfe38
branches: netbsd-1-4
changeset: 469338:28a118dbfe38
user: he <he%NetBSD.org@localhost>
date: Sun Sep 05 15:13:49 1999 +0000
description:
Pull up revision 1.20:
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_msdos/mount_msdos.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 9047704acbe1 -r 28a118dbfe38 sbin/mount_msdos/mount_msdos.c
--- a/sbin/mount_msdos/mount_msdos.c Sun Sep 05 15:12:41 1999 +0000
+++ b/sbin/mount_msdos/mount_msdos.c Sun Sep 05 15:13:49 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mount_msdos.c,v 1.19 1998/03/01 02:20:45 fvdl Exp $ */
+/* $NetBSD: mount_msdos.c,v 1.19.2.1 1999/09/05 15:13:49 he Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: mount_msdos.c,v 1.19 1998/03/01 02:20:45 fvdl Exp $");
+__RCSID("$NetBSD: mount_msdos.c,v 1.19.2.1 1999/09/05 15:13:49 he Exp $");
#endif /* not lint */
#include <sys/cdefs.h>
@@ -146,7 +146,7 @@
}
if (mount(MOUNT_MSDOS, dir, mntflags, &args) < 0)
- err(1, "mount");
+ err(1, "%s on %s", dev, dir);
exit (0);
}
Home |
Main Index |
Thread Index |
Old Index