diff options
author | Ralf Thielow <ralf.thielow@gmail.com> | 2017-10-17 18:20:50 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-10-18 06:08:29 +0900 |
commit | 27f90c25a0280ec688956d6eacbb8ecc702ee240 (patch) | |
tree | 252168bcd538fde4bde490d1dab7be8743ebc907 | |
parent | sequencer.c: fix and unify error messages in rearrange_squash() (diff) | |
download | tgif-27f90c25a0280ec688956d6eacbb8ecc702ee240.tar.xz |
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>
-rw-r--r-- | sequencer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sequencer.c b/sequencer.c index 961a222506..04c9512f57 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); |