svn commit: r201445 - head/etc/rc.d

Gavin Atkinson gavin at FreeBSD.org
Sun Jan 3 21:27:11 UTC 2010


Author: gavin
Date: Sun Jan  3 21:27:10 2010
New Revision: 201445
URL: http://svn.freebsd.org/changeset/base/201445

Log:
  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

Modified:
  head/etc/rc.d/nsswitch

Modified: head/etc/rc.d/nsswitch
==============================================================================
--- head/etc/rc.d/nsswitch	Sun Jan  3 20:45:49 2010	(r201444)
+++ head/etc/rc.d/nsswitch	Sun Jan  3 21:27:10 2010	(r201445)
@@ -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


More information about the svn-src-all mailing list