Fix build with LOG_FILE undefined and DEBUGGING disabled.

This commit is contained in:
Sergey Kandaurov 2012-10-02 09:23:16 +00:00
parent 9281629f0e
commit 24e4c29c6e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=241125

View File

@ -391,7 +391,9 @@ log_it(username, xpid, event, detail)
char *event;
char *detail;
{
#if defined(LOG_FILE) || DEBUGGING
PID_T pid = xpid;
#endif
#if defined(LOG_FILE)
char *msg;
TIME_T now = time((TIME_T) 0);