diff options
Diffstat (limited to 'archival')
-rw-r--r-- | archival/gzip.c | 2 | ||||
-rw-r--r-- | archival/unzip.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/archival/gzip.c b/archival/gzip.c index ad2c24d..7c18154 100644 --- a/archival/gzip.c +++ b/archival/gzip.c @@ -1206,7 +1206,7 @@ int gzip_main(int argc, char **argv) inFileNum = STDIN_FILENO; outFileNum = STDOUT_FILENO; } else { - inFileNum = xopen3(argv[i], O_RDONLY, 0); + inFileNum = xopen(argv[i], O_RDONLY); if (fstat(inFileNum, &statBuf) < 0) bb_perror_msg_and_die("%s", argv[i]); time_stamp = statBuf.st_ctime; diff --git a/archival/unzip.c b/archival/unzip.c index 709ebf8..1b80aea 100644 --- a/archival/unzip.c +++ b/archival/unzip.c @@ -333,7 +333,7 @@ int unzip_main(int argc, char **argv) overwrite = o_always; case 'y': /* Open file and fall into unzip */ unzip_create_leading_dirs(dst_fn); - dst_fd = xopen3(dst_fn, O_WRONLY | O_CREAT | O_TRUNC, 0777); + dst_fd = xopen(dst_fn, O_WRONLY | O_CREAT | O_TRUNC); case -1: /* Unzip */ if (verbosity == v_normal) { printf(" inflating: %s\n", dst_fn); |