Module Name: src
Committed By: pooka
Date: Thu Feb 17 16:57:46 UTC 2011
Modified Files:
src/sbin/mount: pathadj.c
Log Message:
"when in doubt, let the kernel decide"
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sbin/mount/pathadj.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/pathadj.c
diff -u src/sbin/mount/pathadj.c:1.1 src/sbin/mount/pathadj.c:1.2
--- src/sbin/mount/pathadj.c:1.1 Tue Aug 5 20:57:45 2008
+++ src/sbin/mount/pathadj.c Thu Feb 17 16:57:46 2011
@@ -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);