aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 3abca75fe..b33351674 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -4540,7 +4540,7 @@ forkchild(struct job *jp, /*union node *n,*/ int mode)
4540 if (jp->nprocs == 0) { 4540 if (jp->nprocs == 0) {
4541 close(0); 4541 close(0);
4542 if (open(bb_dev_null, O_RDONLY) != 0) 4542 if (open(bb_dev_null, O_RDONLY) != 0)
4543 ash_msg_and_raise_error("can't open %s", bb_dev_null); 4543 ash_msg_and_raise_error("can't open '%s'", bb_dev_null);
4544 } 4544 }
4545 } 4545 }
4546 if (!oldlvl) { 4546 if (!oldlvl) {
@@ -9573,7 +9573,7 @@ setinputfile(const char *fname, int flags)
9573 if (fd < 0) { 9573 if (fd < 0) {
9574 if (flags & INPUT_NOFILE_OK) 9574 if (flags & INPUT_NOFILE_OK)
9575 goto out; 9575 goto out;
9576 ash_msg_and_raise_error("can't open %s", fname); 9576 ash_msg_and_raise_error("can't open '%s'", fname);
9577 } 9577 }
9578 if (fd < 10) { 9578 if (fd < 10) {
9579 fd2 = copyfd(fd, 10); 9579 fd2 = copyfd(fd, 10);