Module Name: src
Committed By: christos
Date: Sun Oct 9 21:03:43 UTC 2016
Modified Files:
src/sbin/mount: mount.c
Log Message:
try to be more clear about what is not found.
To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/sbin/mount/mount.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/mount/mount.c
diff -u src/sbin/mount/mount.c:1.101 src/sbin/mount/mount.c:1.102
--- src/sbin/mount/mount.c:1.101 Sat Oct 8 02:47:59 2016
+++ src/sbin/mount/mount.c Sun Oct 9 17:03:43 2016
@@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 19
#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 @@ mountfs(const char *vfstype, const char
} while (*++edir != NULL);
if (errno == ENOENT)
- warnx("%s not found", execbase);
+ warn("exec %s for %s: %s", execbase, name, execbase);
_exit(1);
/* NOTREACHED */