From 27f90c25a0280ec688956d6eacbb8ecc702ee240 Mon Sep 17 00:00:00 2001 From: Ralf Thielow Date: Tue, 17 Oct 2017 18:20:50 +0200 Subject: sequencer.c: unify an error message Change an error message in sequencer.c for the case that we could not write to a file to match other instances. Signed-off-by: Ralf Thielow Signed-off-by: Junio C Hamano --- sequencer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sequencer.c') diff --git a/sequencer.c b/sequencer.c index 961a22250..04c9512f5 100644 --- a/sequencer.c +++ b/sequencer.c @@ -2926,7 +2926,7 @@ int rearrange_squash(void) if (fd < 0) res = error_errno(_("could not open '%s'"), todo_file); else if (write(fd, buf.buf, buf.len) < 0) - res = error_errno(_("could not write '%s'"), todo_file); + res = error_errno(_("could not write to '%s'"), todo_file); else if (ftruncate(fd, buf.len) < 0) res = error_errno(_("could not truncate '%s'"), todo_file); -- cgit v1.2.1