@matheusbsbs / matheus-bagliano / commits / 646b329961
Fork 0

Fix typo: do not show name1 when name2 fails

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>

Johannes Schindelin committed Feb 25, 2007 at 23:34 UTC 646b3299613f0dd947557bc965660986d024322b
1 file changed +1 -1
diff-lib.c
+1 -1
@@ -43,7 +43,7 @@ static int queue_diff(struct diff_options *o,
43 }
44 if (name2) {
45 if (stat(name2, &st))
46 - return error("Could not access '%s'", name1);
46 + return error("Could not access '%s'", name2);
47 mode2 = st.st_mode;
48 }
49