am: fix filename in safe_to_abort() error message

Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Stephan Beyer 2016-12-07 22:51:29 +01:00 committed by Junio C Hamano
parent a274e0a036
commit ccd71b2f38

View File

@ -2124,7 +2124,7 @@ static int safe_to_abort(const struct am_state *state)
if (read_state_file(&sb, state, "abort-safety", 1) > 0) {
if (get_oid_hex(sb.buf, &abort_safety))
die(_("could not parse %s"), am_path(state, "abort_safety"));
die(_("could not parse %s"), am_path(state, "abort-safety"));
} else
oidclr(&abort_safety);