Fix some warnings related to format strings.
This commit is contained in:
parent
3ac49bdaa0
commit
ca9e48d5f6
8 changed files with 8 additions and 8 deletions
|
|
@ -1047,7 +1047,7 @@ shell(void)
|
|||
|
||||
md_shellescape();
|
||||
|
||||
printf(retstr);
|
||||
printf("%s", retstr);
|
||||
noecho();
|
||||
raw();
|
||||
keypad(cw,1);
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ badcheck(char *name, struct magic_item *magic, int bound)
|
|||
printf("\nBad percentages for %s:\n", name);
|
||||
for (end = &magic[bound] ; magic < end ; magic++)
|
||||
printf("%4d%% %s\n", magic->mi_prob, magic->mi_name);
|
||||
printf(retstr);
|
||||
printf("%s", retstr);
|
||||
fflush(stdout);
|
||||
while (getchar() != '\n')
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue