Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2010 21:27:10 +0000 (UTC)
From:      Gavin Atkinson <gavin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r201445 - head/etc/rc.d
Message-ID:  <201001032127.o03LRACN055474@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001032127.o03LRACN055474>