Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/mount try to be more clear about what is not found.
details: https://anonhg.NetBSD.org/src/rev/0a3bd4a6c419
branches: trunk
changeset: 348216:0a3bd4a6c419
user: christos <christos%NetBSD.org@localhost>
date: Sun Oct 09 21:03:43 2016 +0000
description:
try to be more clear about what is not found.
diffstat:
sbin/mount/mount.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r fcbefb828fae -r 0a3bd4a6c419 sbin/mount/mount.c
--- a/sbin/mount/mount.c Sun Oct 09 19:38:08 2016 +0000
+++ b/sbin/mount/mount.c Sun Oct 09 21:03:43 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mount.c,v 1.101 2016/10/08 06:47:59 maya Exp $ */
+/* $NetBSD: mount.c,v 1.102 2016/10/09 21:03:43 christos Exp $ */
/*
* Copyright (c) 1980, 1989, 1993, 1994
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)mount.c 8.25 (Berkeley) 5/8/95";
#else
-__RCSID("$NetBSD: mount.c,v 1.101 2016/10/08 06:47:59 maya Exp $");
+__RCSID("$NetBSD: mount.c,v 1.102 2016/10/09 21:03:43 christos Exp $");
#endif
#endif /* not lint */
@@ -503,7 +503,7 @@
} while (*++edir != NULL);
if (errno == ENOENT)
- warnx("%s not found", execbase);
+ warn("exec %s for %s: %s", execbase, name, execbase);
_exit(1);
/* NOTREACHED */
Home |
Main Index |
Thread Index |
Old Index