From 6c35c7c97628cb81eb26c2a059b0dde2879d91aa Mon Sep 17 00:00:00 2001 From: "\"Vladimir N. Oleynik\"" Date: Wed, 12 Oct 2005 15:34:25 +0000 Subject: usage bb_dev_null --- archival/gunzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archival') 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) /* Set output filename and number */ if (opt & GUNZIP_OPT_TEST) { - dst_fd = bb_xopen("/dev/null", O_WRONLY); /* why does test use filenum 2 ? */ + dst_fd = bb_xopen(bb_dev_null, O_WRONLY); /* why does test use filenum 2 ? */ } else if (opt & GUNZIP_OPT_STDOUT) { dst_fd = STDOUT_FILENO; } else { -- cgit v1.2.3