mirror of
https://github.com/HEYAHONG/emu8051.git
synced 2025-05-08 22:09:27 +08:00
Fix [-Wformat-security] warning
Original warning message: emuconsole.c:316:3: warning: format not a string literal and no format arguments [-Wformat-security]
This commit is contained in:
parent
702da8f531
commit
57f6d79aa0
@ -313,7 +313,7 @@ console_main(void)
|
||||
Parameter1[0] = '\0';
|
||||
Parameter2[0] = '\0';
|
||||
|
||||
printf(prompt);
|
||||
printf("%s", prompt);
|
||||
(void) getline(&line, &len, stdin);
|
||||
Capitalize(line);
|
||||
RemoveSpaces(line);
|
||||
|
Loading…
x
Reference in New Issue
Block a user