summaryrefslogtreecommitdiff
path: root/archival/libunarchive/seek_by_char.c
diff options
context:
space:
mode:
authorGlenn L McGrath2004-02-21 09:20:56 +0000
committerGlenn L McGrath2004-02-21 09:20:56 +0000
commit15c3512614d699efe17f1942f1ef414f9ec29b79 (patch)
tree918c56f64eb92670bf2809ddf346824c91d3a8ab /archival/libunarchive/seek_by_char.c
parent96099d51b6a872fbd33cdaef123bf93fbc4e9871 (diff)
downloadbusybox-15c3512614d699efe17f1942f1ef414f9ec29b79.zip
busybox-15c3512614d699efe17f1942f1ef414f9ec29b79.tar.gz
Sometimes i get carried away with the use of function pointers, im sure
it seemed like a good idea at the time.
Diffstat (limited to 'archival/libunarchive/seek_by_char.c')
-rw-r--r--archival/libunarchive/seek_by_char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/seek_by_char.c b/archival/libunarchive/seek_by_char.c
index c031561..a50d566 100644
--- a/archival/libunarchive/seek_by_char.c
+++ b/archival/libunarchive/seek_by_char.c
@@ -27,6 +27,6 @@
extern void seek_by_char(const archive_handle_t *archive_handle, const unsigned int jump_size)
{
if (jump_size) {
- bb_full_fd_action(archive_handle->src_fd, -1, jump_size, NULL);
+ bb_copyfd_size(archive_handle->src_fd, -1, jump_size);
}
}