aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/tar_fuzz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tar_fuzz.c b/tests/tar_fuzz.c
index aa82a50..dad3d5a 100644
--- a/tests/tar_fuzz.c
+++ b/tests/tar_fuzz.c
@@ -40,7 +40,7 @@ int main(int argc, char **argv)
ret = lseek(fd, hdr.sb.st_size, SEEK_CUR);
clear_header(&hdr);
- if (ret)
+ if (ret < 0)
goto fail;
}