svn commit: r232187 - head/usr.bin/xargs

Jilles Tjoelker jilles at FreeBSD.org
Sun Feb 26 17:39:47 UTC 2012


Author: jilles
Date: Sun Feb 26 17:39:46 2012
New Revision: 232187
URL: http://svn.freebsd.org/changeset/base/232187

Log:
  xargs: Fix comma splice in error message.
  
  Reported by:	bde

Modified:
  head/usr.bin/xargs/xargs.c

Modified: head/usr.bin/xargs/xargs.c
==============================================================================
--- head/usr.bin/xargs/xargs.c	Sun Feb 26 16:30:39 2012	(r232186)
+++ head/usr.bin/xargs/xargs.c	Sun Feb 26 17:39:46 2012	(r232187)
@@ -609,10 +609,10 @@ waitchildren(const char *name, int waita
 		 * exit 1-125.
 		 */
 		if (WIFSIGNALED(status))
-			errx(1, "%s: terminated with signal %d, aborting",
+			errx(1, "%s: terminated with signal %d; aborting",
 			    name, WTERMSIG(status));
 		if (WEXITSTATUS(status) == 255)
-			errx(1, "%s: exited with status 255, aborting", name);
+			errx(1, "%s: exited with status 255; aborting", name);
 		if (WEXITSTATUS(status))
 			rval = 1;
 	}


More information about the svn-src-head mailing list