summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/syrep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syrep.c b/src/syrep.c
index e063072..059dde0 100644
--- a/src/syrep.c
+++ b/src/syrep.c
@@ -197,7 +197,7 @@ static int do_makepatch(void) {
}
if (isdirectory(args.inputs[0]) <= 0) {
- fprintf(stderr, "ERROR: %s is not a directory\n", args.inputs[1]);
+ fprintf(stderr, "ERROR: %s is not a directory\n", args.inputs[0]);
goto finish;
}