From 9ff5567e2144af3c6f75594f3ab5e9496ede5c77 Mon Sep 17 00:00:00 2001 From: markw Date: Tue, 5 Dec 2000 20:03:17 +0000 Subject: Fixed the comments to match the code and renamed the function to a (hopefully) more descriptive name, and as per the style guide. git-svn-id: svn://busybox.net/trunk/busybox@1379 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- ar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ar.c') diff --git a/ar.c b/ar.c index 0f16ec88c..a9a0a0a71 100644 --- a/ar.c +++ b/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) -- cgit v1.2.3-55-g6feb