mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
Don't call warn() with no format string.
This commit is contained in:
parent
66b8466826
commit
04d06bb686
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62882
|
@ -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…
Reference in a new issue