canerrsim: show_help_and_exit(): use "%s" to print string

This commit is contained in:
Marc Kleine-Budde
2024-05-29 21:16:13 +02:00
parent 9f73e9c373
commit e67e3c675d
+1 -1
View File
@@ -126,7 +126,7 @@ void show_help_and_exit()
void err_exit(const char *msg)
{
printf(msg);
printf("%s", msg);
exit(EXIT_FAILURE);
}