aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-05-19 13:12:21 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-05-19 13:12:21 +0000
commit0a8812bdc588fd6e32f7c5ad97cfc9288b9822dc (patch)
treebde7df4ca9bbe31696e23b719c817acbe0e08868 /shell
parent14aa06f29c22797bf8bf054afc25a6ef71718734 (diff)
downloadbusybox-0a8812bdc588fd6e32f7c5ad97cfc9288b9822dc.tar.gz
- replace _PATH_DEVNULL with bb_dev_null
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)
ignoresig(SIGQUIT);
if (jp->nprocs == 0) {
close(0);
- if (open(_PATH_DEVNULL, O_RDONLY) != 0)
- sh_error("Can't open %s", _PATH_DEVNULL);
+ if (open(bb_dev_null, O_RDONLY) != 0)
+ sh_error("Can't open %s", bb_dev_null);
}
}
if (!oldlvl && iflag) {