summaryrefslogtreecommitdiff
path: root/tests/libtar/tar_fuzz.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtar/tar_fuzz.c')
-rw-r--r--tests/libtar/tar_fuzz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtar/tar_fuzz.c b/tests/libtar/tar_fuzz.c
index e5f5c0b..d5728b5 100644
--- a/tests/libtar/tar_fuzz.c
+++ b/tests/libtar/tar_fuzz.c
@@ -33,7 +33,7 @@ int main(int argc, char **argv)
if (ret < 0)
goto fail;
- ret = istream_skip(fp, hdr.sb.st_size);
+ ret = istream_skip(fp, hdr.record_size);
clear_header(&hdr);
if (ret < 0)