summaryrefslogtreecommitdiff
path: root/archival/tar.c
diff options
context:
space:
mode:
authorRob Landley2006-08-03 17:58:17 +0000
committerRob Landley2006-08-03 17:58:17 +0000
commit86b4d64aa3f5ca4c2824a8948541b0e18dfe0a74 (patch)
treeb3002e01131f99581c1be3462b96b2f2c40408f4 /archival/tar.c
parent7478804b783619762a52a740037126ef8711acc2 (diff)
downloadbusybox-86b4d64aa3f5ca4c2824a8948541b0e18dfe0a74.zip
busybox-86b4d64aa3f5ca4c2824a8948541b0e18dfe0a74.tar.gz
These should have been part of 15767 too.
Diffstat (limited to 'archival/tar.c')
-rw-r--r--archival/tar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/archival/tar.c b/archival/tar.c
index 426176b..c494347 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -541,7 +541,7 @@ static llist_t *append_file_list_to_list(llist_t *list)
llist_t *newlist = NULL;
while (cur) {
- src_stream = bb_xfopen(cur->data, "r");
+ src_stream = xfopen(cur->data, "r");
tmp = cur;
cur = cur->link;
free(tmp);
@@ -824,12 +824,12 @@ int tar_main(int argc, char **argv)
tar_handle->src_fd = fileno(tar_stream);
tar_handle->seek = seek_by_char;
} else {
- tar_handle->src_fd = bb_xopen(tar_filename, flags);
+ tar_handle->src_fd = xopen(tar_filename, flags);
}
}
if (base_dir)
- bb_xchdir(base_dir);
+ xchdir(base_dir);
/* create an archive */
if (ENABLE_FEATURE_TAR_CREATE && (opt & CTX_CREATE)) {