aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.c b/build.c
index 912dc97..b98ac6b 100644
--- a/build.c
+++ b/build.c
@@ -149,7 +149,7 @@ main(int argc, char *argv[])
if (errno != ENOENT)
err(1, d);
fprintf(stderr, "%s: dependency %s does not "
- "exist\n", argv[0], d);
+ "exist\n", argv[i], d);
continue;
}
if (sb.st_mtime > ssb.st_mtime) {