canerrsim: show_help_and_exit(): use "%s" to print string
parent
9f73e9c373
commit
e67e3c675d
|
|
@ -126,7 +126,7 @@ void show_help_and_exit()
|
||||||
|
|
||||||
void err_exit(const char *msg)
|
void err_exit(const char *msg)
|
||||||
{
|
{
|
||||||
printf(msg);
|
printf("%s", msg);
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue