diff options
-rw-r--r-- | archival/libarchive/open_transformer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libarchive/open_transformer.c b/archival/libarchive/open_transformer.c index 290dd130f..e81a81072 100644 --- a/archival/libarchive/open_transformer.c +++ b/archival/libarchive/open_transformer.c | |||
@@ -234,7 +234,7 @@ static void fork_transformer_and_free(transformer_state_t *xstate) | |||
234 | * an external unzipper that wants | 234 | * an external unzipper that wants |
235 | * file position at the start of the file. | 235 | * file position at the start of the file. |
236 | */ | 236 | */ |
237 | xlseek(fd, - xstate->signature_skipped, SEEK_CUR); | 237 | xlseek(xstate->src_fd, - xstate->signature_skipped, SEEK_CUR); |
238 | xstate->signature_skipped = 0; | 238 | xstate->signature_skipped = 0; |
239 | fork_transformer_with_sig(xstate->src_fd, xstate->xformer, xstate->xformer_prog); | 239 | fork_transformer_with_sig(xstate->src_fd, xstate->xformer, xstate->xformer_prog); |
240 | # endif | 240 | # endif |