Don't call warn() with no format string.
This commit is contained in:
parent
66b8466826
commit
04d06bb686
@ -822,7 +822,7 @@ void Warn (const char* msg)
|
||||
if (background)
|
||||
syslog (LOG_ALERT, "%s (%m)", msg);
|
||||
else
|
||||
warn (msg);
|
||||
warn ("%s", msg);
|
||||
}
|
||||
|
||||
static void RefreshAddr (int sig)
|
||||
|
Loading…
x
Reference in New Issue
Block a user