diff options
author | jilles <jilles@FreeBSD.org> | 2011-06-04 15:05:52 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2011-06-04 15:05:52 +0000 |
commit | e193bb76ce511e6a74e47db019bc03629d1c1f91 (patch) | |
tree | 8c953aa2c8ed195518e54c3fd1fb1e1c2e07f27c /bin/sh/jobs.c | |
parent | 1bcd9bb7cf6b2dd57876958e080cf61c0f09a7f1 (diff) | |
download | FreeBSD-src-e193bb76ce511e6a74e47db019bc03629d1c1f91.zip FreeBSD-src-e193bb76ce511e6a74e47db019bc03629d1c1f91.tar.gz |
sh: Reduce more needless differences between error messages.
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 f4f1dac..434af22 100644 --- a/bin/sh/jobs.c +++ b/bin/sh/jobs.c @@ -820,7 +820,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("cannot open %s: %s", _PATH_DEVNULL, strerror(errno)); } } @@ -832,7 +832,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("cannot open %s: %s", _PATH_DEVNULL, strerror(errno)); } } |