From 7149995536739b984a2a832f8ee725e9de3832dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 9 Jul 2021 15:42:43 +0200 Subject: Print current file, not first file --- build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3