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_ados Pull up revision 1.9:
details: https://anonhg.NetBSD.org/src/rev/39b1a8a4b86f
branches: netbsd-1-4
changeset: 469332:39b1a8a4b86f
user: he <he%NetBSD.org@localhost>
date: Sun Sep 05 15:03:45 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_ados/mount_ados.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 592c46f6da1e -r 39b1a8a4b86f sbin/mount_ados/mount_ados.c
--- a/sbin/mount_ados/mount_ados.c Sun Sep 05 14:57:34 1999 +0000
+++ b/sbin/mount_ados/mount_ados.c Sun Sep 05 15:03:45 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mount_ados.c,v 1.8 1998/03/01 02:20:11 fvdl Exp $ */
+/* $NetBSD: mount_ados.c,v 1.8.2.1 1999/09/05 15:03:45 he Exp $ */
/*
* Copyright (c) 1994 Christopher G. Demetriou
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: mount_ados.c,v 1.8 1998/03/01 02:20:11 fvdl Exp $");
+__RCSID("$NetBSD: mount_ados.c,v 1.8.2.1 1999/09/05 15:03:45 he Exp $");
#endif /* not lint */
#include <sys/cdefs.h>
@@ -134,7 +134,7 @@
}
if (mount(MOUNT_ADOSFS, dir, mntflags, &args) < 0)
- err(1, "mount");
+ err(1, "%s on %s", dev, dir);
exit (0);
}
Home |
Main Index |
Thread Index |
Old Index