mirror of
https://github.com/linux-can/can-utils.git
synced 2026-09-23 00:21:14 +02:00
canerrsim: show_help_and_exit(): use "%s" to print string
This commit is contained in:
+1
-1
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user