{"thread":{"id":"46987","subject":"[PATCH] sequencer.c: unify an error message","startedAt":"2017-10-17T16:21:03Z","lastAt":"2017-10-17T16:21:03Z","messageCount":1,"participants":["Ralf Thielow"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"330548","messageId":"20171017162050.21525-1-ralf.thielow@gmail.com","threadId":"46987","inReplyTo":null,"subject":"[PATCH] sequencer.c: unify an error message","fromName":"Ralf Thielow","fromEmail":"ralf.thielow@gmail.com","sentAt":"2017-10-17T16:20:50Z","receivedAt":"2017-10-17T16:21:03Z","isPatch":true,"sender":{"key":"ralf.thielow@gmail.com","avatar":"https://avatars.githubusercontent.com/u/1275832?v=4"},"body":"Change an error message in sequencer.c for the case that\nwe could not write to a file to match other instances.\n\nSigned-off-by: Ralf Thielow <ralf.thielow@gmail.com>\n---\n sequencer.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/sequencer.c b/sequencer.c\nindex 75f5356f6..f2a10cc4f 100644\n--- a/sequencer.c\n+++ b/sequencer.c\n@@ -2948,7 +2948,7 @@ int rearrange_squash(void)\n \t\tif (fd < 0)\n \t\t\tres = error_errno(_(\"could not open '%s'\"), todo_file);\n \t\telse if (write(fd, buf.buf, buf.len) < 0)\n-\t\t\tres = error_errno(_(\"could not write '%s'\"), todo_file);\n+\t\t\tres = error_errno(_(\"could not write to '%s'\"), todo_file);\n \t\telse if (ftruncate(fd, buf.len) < 0)\n \t\t\tres = error_errno(_(\"could not truncate '%s'\"),\n \t\t\t\t\t   todo_file);\n-- \n2.15.0.rc1.299.gda03b47c3\n\n"}]}