Skip to contentSkip to conversation

sequencer.c: unify an error message

PATCH New Ralf Thielow 1 participant 1 message Oct 17, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 sequencer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sequencer.c +1 -1
index 75f5356f6..f2a10cc4f 100644
@@ -2948,7 +2948,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);
Signature · 1 line
2.15.0.rc1.299.gda03b47c3