fix: printf: some potentially severe format errors

This commit is contained in:
Stéphane Lesimple
2021-01-15 19:41:48 +01:00
parent 66cf0d25ee
commit f68efb758e
6 changed files with 6 additions and 6 deletions

View File

@@ -260,7 +260,7 @@ static ssize_t xwrite(int fdes, void *buf_base, size_t count)
answer = ModalDialog(GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, insert_buttons,
_("Error while writing the file:\n\n%s\n\n"
"You can redo this operation after freeing some space."),
strerror(errno),n);
strerror(errno));
if(!answer) return total;
}