usage bb_dev_null

This commit is contained in:
"Vladimir N. Oleynik"
2005-10-12 15:34:25 +00:00
parent 86a1073e0b
commit 6c35c7c976
12 changed files with 14 additions and 15 deletions

View File

@@ -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 {