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>
Stephan Beyer committed
Dec 7, 2016 at 22:51 UTC
ccd71b2f38f86a28db2cce811f414fe5369eaa1d
1 file changed
+1
-1
builtin/am.c
+1
-1
@@ -2124,7 +2124,7 @@ static int safe_to_abort(const struct am_state *state)
2124
2125
if (read_state_file(&sb, state, "abort-safety", 1) > 0) {
2126
if (get_oid_hex(sb.buf, &abort_safety))
2127
- die(_("could not parse %s"), am_path(state, "abort_safety"));
2127
+ die(_("could not parse %s"), am_path(state, "abort-safety"));
2128
} else
2129
oidclr(&abort_safety);
2130