Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Feb 2012 17:39:47 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r232187 - head/usr.bin/xargs
Message-ID:  <201202261739.q1QHdluw076013@svn.freebsd.org>

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



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