aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorvodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-10-12 15:34:25 +0000
committervodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-10-12 15:34:25 +0000
commit3ccc6852b29b385ffde47f98772b55704b47792a (patch)
tree0da08a6d852fcb5d68bbe3a368460ed815b74923 /archival
parent645a928b37cf8f09f3d0648030d5b454753428fc (diff)
downloadbusybox-w32-3ccc6852b29b385ffde47f98772b55704b47792a.tar.gz
busybox-w32-3ccc6852b29b385ffde47f98772b55704b47792a.tar.bz2
busybox-w32-3ccc6852b29b385ffde47f98772b55704b47792a.zip
usage bb_dev_null
git-svn-id: svn://busybox.net/trunk/busybox@11846 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'archival')
-rw-r--r--archival/gunzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/gunzip.c b/archival/gunzip.c
index a4db7ca31..76738b017 100644
--- a/archival/gunzip.c
+++ b/archival/gunzip.c
@@ -116,7 +116,7 @@ extern int gunzip_main(int argc, char **argv)
116 116
117 /* Set output filename and number */ 117 /* Set output filename and number */
118 if (opt & GUNZIP_OPT_TEST) { 118 if (opt & GUNZIP_OPT_TEST) {
119 dst_fd = bb_xopen("/dev/null", O_WRONLY); /* why does test use filenum 2 ? */ 119 dst_fd = bb_xopen(bb_dev_null, O_WRONLY); /* why does test use filenum 2 ? */
120 } else if (opt & GUNZIP_OPT_STDOUT) { 120 } else if (opt & GUNZIP_OPT_STDOUT) {
121 dst_fd = STDOUT_FILENO; 121 dst_fd = STDOUT_FILENO;
122 } else { 122 } else {