Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/mount "when in doubt, let the kernel decide"



details:   https://anonhg.NetBSD.org/src/rev/f0815a46432f
branches:  trunk
changeset: 762209:f0815a46432f
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Feb 17 16:57:46 2011 +0000

description:
"when in doubt, let the kernel decide"

diffstat:

 sbin/mount/pathadj.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b0faa2b35345 -r f0815a46432f sbin/mount/pathadj.c
--- a/sbin/mount/pathadj.c      Thu Feb 17 16:44:48 2011 +0000
+++ b/sbin/mount/pathadj.c      Thu Feb 17 16:57:46 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pathadj.c,v 1.1 2008/08/05 20:57:45 pooka Exp $        */
+/*     $NetBSD: pathadj.c,v 1.2 2011/02/17 16:57:46 pooka Exp $        */
 
 /*
  * Copyright (c) 2008 The NetBSD Foundation.  All Rights Reserved.
@@ -38,7 +38,7 @@
 {
 
        if (realpath(input, adjusted) == NULL)
-               err(1, "realpath %s", input);
+               warn("Warning: realpath %s", input);
        if (strncmp(input, adjusted, MAXPATHLEN)) {
                warnx("\"%s\" is a non-resolved or relative path.", input);
                warnx("using \"%s\" instead.", adjusted);



Home | Main Index | Thread Index | Old Index