aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-19 13:12:21 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-19 13:12:21 +0000
commit7c2dd198789988caef731e16a693b373db59a369 (patch)
treebde7df4ca9bbe31696e23b719c817acbe0e08868 /shell
parent41660a8f944ec19ea3cedbbc1be6ad10a5a43db3 (diff)
downloadbusybox-w32-7c2dd198789988caef731e16a693b373db59a369.tar.gz
busybox-w32-7c2dd198789988caef731e16a693b373db59a369.tar.bz2
busybox-w32-7c2dd198789988caef731e16a693b373db59a369.zip
- replace _PATH_DEVNULL with bb_dev_null
git-svn-id: svn://busybox.net/trunk/busybox@15133 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 708ab21fb..33eaf9227 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -7147,8 +7147,8 @@ forkchild(struct job *jp, union node *n, int mode)
7147 ignoresig(SIGQUIT); 7147 ignoresig(SIGQUIT);
7148 if (jp->nprocs == 0) { 7148 if (jp->nprocs == 0) {
7149 close(0); 7149 close(0);
7150 if (open(_PATH_DEVNULL, O_RDONLY) != 0) 7150 if (open(bb_dev_null, O_RDONLY) != 0)
7151 sh_error("Can't open %s", _PATH_DEVNULL); 7151 sh_error("Can't open %s", bb_dev_null);
7152 } 7152 }
7153 } 7153 }
7154 if (!oldlvl && iflag) { 7154 if (!oldlvl && iflag) {