From 4c40efa74aa211508b52df231e16cbb3f87d702c Mon Sep 17 00:00:00 2001 From: Gavin Atkinson Date: Sun, 3 Jan 2010 21:27:10 +0000 Subject: [PATCH] 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 --- etc/rc.d/nsswitch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/rc.d/nsswitch b/etc/rc.d/nsswitch index 1b1f992f7c3..8b0b228d77d 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