From: Ralf Thielow Date: Tue, 17 Oct 2017 16:20:50 +0000 (+0200) Subject: sequencer.c: unify an error message X-Git-Tag: v2.15.0-rc2~8^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=27f90c25a0280ec688956d6eacbb8ecc702ee240;p=git-core%2Fgit.git 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 --- 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);