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

@@ -890,7 +890,7 @@ void ReadMediumLinear(gpointer data)
{
#ifndef CLI
SwitchAndSetFootline(Closure->readLinearNotebook, 1, Closure->readLinearFootline,
_("<span %s>Aborted by user request!</span>"),
_("<span %s>Aborted by user request!</span> %" PRId64 " sectors read, %" PRId64 " sectors unreadable/skipped so far."),
Closure->redMarkup, rc->readOK,Closure->readErrors);
#endif
rc->unreportedError = FALSE; /* suppress respective error message */