diff options
Diffstat (limited to 'bin/sh/jobs.c')
-rw-r--r-- | bin/sh/jobs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/jobs.c b/bin/sh/jobs.c index 71e80f4..7e1c2c5 100644 --- a/bin/sh/jobs.c +++ b/bin/sh/jobs.c @@ -353,7 +353,7 @@ showjob(struct job *jp, pid_t pid, int sformat, int lformat) WEXITSTATUS(ps->status)); } else { #if JOBS - if (WIFSTOPPED(ps->status)) + if (WIFSTOPPED(ps->status)) i = WSTOPSIG(ps->status); else #endif @@ -787,7 +787,7 @@ forkshell(struct job *jp, union node *n, int mode) ! fd0_redirected_p ()) { close(0); if (open(_PATH_DEVNULL, O_RDONLY) != 0) - error("Can't open %s: %s", + error("Can't open %s: %s", _PATH_DEVNULL, strerror(errno)); } } |