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 <ralf.thielow@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ralf Thielow committed Oct 17, 2017 at 18:20 UTC 27f90c25a0280ec688956d6eacbb8ecc702ee240
1 file changed +1 -1
sequencer.c
+1 -1
@@ -2926,7 +2926,7 @@ int rearrange_squash(void)
2926 if (fd < 0)
2927 res = error_errno(_("could not open '%s'"), todo_file);
2928 else if (write(fd, buf.buf, buf.len) < 0)
2929 - res = error_errno(_("could not write '%s'"), todo_file);
2929 + res = error_errno(_("could not write to '%s'"), todo_file);
2930 else if (ftruncate(fd, buf.len) < 0)
2931 res = error_errno(_("could not truncate '%s'"),
2932 todo_file);