xargs: Fix comma splice in error message.

Reported by:	bde
This commit is contained in:
Jilles Tjoelker 2012-02-26 17:39:46 +00:00
parent e7af90ab00
commit c15adc89b3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=232187

View File

@ -609,10 +609,10 @@ waitchildren(const char *name, int waitall)
* 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;
}