summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorgavin <gavin@FreeBSD.org>2010-01-03 21:27:10 +0000
committergavin <gavin@FreeBSD.org>2010-01-03 21:27:10 +0000
commit4c340a7f87fcf9b5f71b96cb1de8dcc3dc3e5254 (patch)
tree2b5acd7595ffdb1201fb9f06bd390768ec6c7112 /etc
parent48e182a5c87f8defd16fa9c215fa0751d9e4cd3e (diff)
downloadFreeBSD-src-4c340a7f87fcf9b5f71b96cb1de8dcc3dc3e5254.zip
FreeBSD-src-4c340a7f87fcf9b5f71b96cb1de8dcc3dc3e5254.tar.gz
Forced commit, to provide correct commit message for r201440:
Don't complain when we encounter the "cache" source, it's valid. Also fix the error message to include a line feed and not include a stray comma. PR: bin/121671 Submitted by: Artis Caune artis.caune gmail.com Approved by: ed (mentor) MFC after: 2 weeks While here, change "> /dev/stderr" for more usual ">&2" Submitted by: jilles
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.d/nsswitch2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/nsswitch b/etc/rc.d/nsswitch
index 1b1f992..8b0b228 100755
--- a/etc/rc.d/nsswitch
+++ b/etc/rc.d/nsswitch
@@ -80,7 +80,7 @@ generate_host_conf()
cache | *=*)
;;
*)
- printf "Warning: unrecognized source [%s]\n" $_s > "/dev/stderr"
+ printf "Warning: unrecognized source [%s]\n" $_s >&2
;;
esac
done
OpenPOWER on IntegriCloud