Don't call warn() with no format string.

This commit is contained in:
Kris Kennaway 2000-07-10 08:14:18 +00:00
parent 66b8466826
commit 04d06bb686
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62882

View File

@ -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)