Remove the only use of printf in /etc/rc.d

M. Warner Losh imp at bsdimp.com
Wed Sep 8 00:06:55 UTC 2010


Comments on the following patch?

Warner

Index: nsswitch
===================================================================
--- nsswitch	(revision 211943)
+++ nsswitch	(working copy)
@@ -80,7 +80,7 @@
 	cache | *=*)
 		;;
 	*)
-		printf "Warning: unrecognized source [%s]\n" $_s >&2
+		echo "Warning: unrecognized source [$_s]" >&2
 		;;
 	esac
     done


More information about the freebsd-rc mailing list