summaryrefslogtreecommitdiffstats
path: root/bin/sh
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2010-12-05 22:56:46 +0000
committerjilles <jilles@FreeBSD.org>2010-12-05 22:56:46 +0000
commit0c87a741dcb662392e300caa455767e563990ee7 (patch)
tree683adc285a47de01fe30203ff8a45a3f3eb4e23c /bin/sh
parent6d438ef9eb57ad56c1b1e5f1f8c78825e3a4797c (diff)
downloadFreeBSD-src-0c87a741dcb662392e300caa455767e563990ee7.zip
FreeBSD-src-0c87a741dcb662392e300caa455767e563990ee7.tar.gz
sh: POSIX says there should not be a space between Done and (exitstatus).
(On the other hand, (core dumped) does need a space and so does [1] +.)
Diffstat (limited to 'bin/sh')
-rw-r--r--bin/sh/jobs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/jobs.c b/bin/sh/jobs.c
index 60f9795..a761f28 100644
--- a/bin/sh/jobs.c
+++ b/bin/sh/jobs.c
@@ -354,7 +354,7 @@ showjob(struct job *jp, int mode)
if (WEXITSTATUS(ps->status) == 0)
strcpy(statestr, "Done");
else
- fmtstr(statestr, 64, "Done (%d)",
+ fmtstr(statestr, 64, "Done(%d)",
WEXITSTATUS(ps->status));
} else {
i = WTERMSIG(ps->status);
OpenPOWER on IntegriCloud