Make format string a string literal in some debug statements
Signed-off-by: Thomas Egerer <[email protected]>
This commit is contained in:
committed by
Tobias Brunner
parent
cb6516cc0a
commit
5e9f5fb32e
@@ -24,6 +24,6 @@
|
||||
void charon_terminate(char *msg)
|
||||
{
|
||||
DBG1(DBG_DMN, "critical TKM error, terminating!");
|
||||
DBG1(DBG_DMN, msg);
|
||||
DBG1(DBG_DMN, "%s", msg);
|
||||
kill(0, SIGTERM);
|
||||
}
|
||||
|
||||
@@ -401,7 +401,7 @@ CALLBACK(on_write, bool,
|
||||
|
||||
if (!ret && errmsg[0])
|
||||
{
|
||||
DBG1(DBG_CFG, errmsg);
|
||||
DBG1(DBG_CFG, "%s", errmsg);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -557,7 +557,7 @@ CALLBACK(on_read, bool,
|
||||
|
||||
if (!ret && errmsg[0])
|
||||
{
|
||||
DBG1(DBG_CFG, errmsg);
|
||||
DBG1(DBG_CFG, "%s", errmsg);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -674,7 +674,7 @@ CALLBACK(flush_messages, void,
|
||||
|
||||
if (!ret && errmsg[0])
|
||||
{
|
||||
DBG1(DBG_CFG, errmsg);
|
||||
DBG1(DBG_CFG, "%s", errmsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user