diff options
Diffstat (limited to 'archival/libunarchive/seek_by_jump.c')
-rw-r--r-- | archival/libunarchive/seek_by_jump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/seek_by_jump.c b/archival/libunarchive/seek_by_jump.c index 231360fa3..e1917dd2a 100644 --- a/archival/libunarchive/seek_by_jump.c +++ b/archival/libunarchive/seek_by_jump.c | |||
@@ -16,7 +16,7 @@ void seek_by_jump(const archive_handle_t *archive_handle, const unsigned int amo | |||
16 | if (lseek(archive_handle->src_fd, (off_t) amount, SEEK_CUR) == (off_t) -1) { | 16 | if (lseek(archive_handle->src_fd, (off_t) amount, SEEK_CUR) == (off_t) -1) { |
17 | #ifdef CONFIG_FEATURE_UNARCHIVE_TAPE | 17 | #ifdef CONFIG_FEATURE_UNARCHIVE_TAPE |
18 | if (errno == ESPIPE) { | 18 | if (errno == ESPIPE) { |
19 | seek_by_char(archive_handle, amount); | 19 | seek_by_read(archive_handle, amount); |
20 | } else | 20 | } else |
21 | #endif | 21 | #endif |
22 | bb_perror_msg_and_die("Seek failure"); | 22 | bb_perror_msg_and_die("Seek failure"); |