aboutsummaryrefslogtreecommitdiff
path: root/archival/ar.c
diff options
context:
space:
mode:
authorMark Whitley <markw@lineo.com>2000-12-05 20:03:17 +0000
committerMark Whitley <markw@lineo.com>2000-12-05 20:03:17 +0000
commit4758368505c2951300650ddcc93de6c657b43d50 (patch)
tree6890d8b480bc1040cdb8b1921db9e604754d1630 /archival/ar.c
parentcf61fe14aebf2b5f753261afdb9e03167b31a843 (diff)
downloadbusybox-4758368505c2951300650ddcc93de6c657b43d50.tar.gz
Fixed the comments to match the code and renamed the function to a (hopefully)
more descriptive name, and as per the style guide.
Diffstat (limited to 'archival/ar.c')
-rw-r--r--archival/ar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/ar.c b/archival/ar.c
index 0f16ec88c..a9a0a0a71 100644
--- a/archival/ar.c
+++ b/archival/ar.c
@@ -372,11 +372,11 @@ extern int ar_main(int argc, char **argv)
createPath(extractList->name, 0666);
dstFd = open(extractList->name, O_WRONLY | O_CREAT, extractList->mode);
lseek(srcFd, extractList->offset, SEEK_SET);
- copySubFile(srcFd, dstFd, (size_t) extractList->size);
+ copy_file_chunk(srcFd, dstFd, (size_t) extractList->size);
}
if (funct & EXT_TO_STDOUT) {
lseek(srcFd, extractList->offset, SEEK_SET);
- copySubFile(srcFd, fileno(stdout), (size_t) extractList->size);
+ copy_file_chunk(srcFd, fileno(stdout), (size_t) extractList->size);
}
if ( (funct & DISPLAY) || (funct & VERBOSE)) {
if (funct & VERBOSE)