aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/xargs
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2012-02-26 17:39:46 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2012-02-26 17:39:46 +0000
commitc15adc89b3fc47bf7e4a861646d7c7e356e3c714 (patch)
tree49023ec16480d0641ddaa72f97f34683b87ba1bc /usr.bin/xargs
parente7af90ab004f896e8eeadb0ada0343d405c47108 (diff)
downloadsrc-c15adc89b3fc47bf7e4a861646d7c7e356e3c714.tar.gz
src-c15adc89b3fc47bf7e4a861646d7c7e356e3c714.zip
xargs: Fix comma splice in error message.
Reported by: bde
Notes
Notes: svn path=/head/; revision=232187
Diffstat (limited to 'usr.bin/xargs')
-rw-r--r--usr.bin/xargs/xargs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/xargs/xargs.c b/usr.bin/xargs/xargs.c
index 35d07c731430..7011810075ea 100644
--- a/usr.bin/xargs/xargs.c
+++ b/usr.bin/xargs/xargs.c
@@ -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;
}