From: Johannes Schindelin Date: Sun, 25 Feb 2007 22:34:31 +0000 (+0100) Subject: Fix typo: do not show name1 when name2 fails X-Git-Tag: v1.5.1-rc1~121^2~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=646b3299613f0dd947557bc965660986d024322b;p=git.git Fix typo: do not show name1 when name2 fails Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- diff --git a/diff-lib.c b/diff-lib.c index 1d184422a..17b9a56fa 100644 --- a/diff-lib.c +++ b/diff-lib.c @@ -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; }