Skip to content

Commit 27f90c2

Browse files
ralfthgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 3247edb commit 27f90c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sequencer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2926,7 +2926,7 @@ int rearrange_squash(void)
29262926
if (fd < 0)
29272927
res = error_errno(_("could not open '%s'"), todo_file);
29282928
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);
29302930
else if (ftruncate(fd, buf.len) < 0)
29312931
res = error_errno(_("could not truncate '%s'"),
29322932
todo_file);

0 commit comments

Comments
 (0)