Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 2010 15:55:39 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r213202 - head/etc/rc.d
Message-ID:  <201009271555.o8RFtd1a041131@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Mon Sep 27 15:55:39 2010
New Revision: 213202
URL: http://svn.freebsd.org/changeset/base/213202

Log:
  Prefer echo over printf

Modified:
  head/etc/rc.d/nsswitch

Modified: head/etc/rc.d/nsswitch
==============================================================================
--- head/etc/rc.d/nsswitch	Mon Sep 27 15:55:30 2010	(r213201)
+++ head/etc/rc.d/nsswitch	Mon Sep 27 15:55:39 2010	(r213202)
@@ -80,7 +80,7 @@ generate_host_conf()
 	cache | *=*)
 		;;
 	*)
-		printf "Warning: unrecognized source [%s]\n" $_s >&2
+		echo "Warning: unrecognized source [$_s]" >&2
 		;;
 	esac
     done



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