aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build.c b/src/build.c
index 677f7b9..67f99c3 100644
--- a/src/build.c
+++ b/src/build.c
@@ -76,7 +76,7 @@ int build_target(const char *target) {
fatal("redo: failed to open %s\n", dep_file);
memset(old_hash, 0, HASHSIZE); // FIXME
} else {
- if (!fseek(fp, sizeof(unsigned), SEEK_SET))
+ if (fseek(fp, sizeof(unsigned), SEEK_SET))
fatal("redo: fseek() failed");
if (fread(old_hash, 1, HASHSIZE, fp) < HASHSIZE)
fatal("redo: failed to read stuff");