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>
This commit is contained in:
Johannes Schindelin 2007-02-25 23:34:31 +01:00 committed by Junio C Hamano
parent efdfd6c8d4
commit 646b329961

View File

@ -43,7 +43,7 @@ static int queue_diff(struct diff_options *o,
}
if (name2) {
if (stat(name2, &st))
return error("Could not access '%s'", name1);
return error("Could not access '%s'", name2);
mode2 = st.st_mode;
}