Fix build with LOG_FILE undefined and DEBUGGING disabled.
This commit is contained in:
parent
9281629f0e
commit
24e4c29c6e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=241125
@ -391,7 +391,9 @@ log_it(username, xpid, event, detail)
|
|||||||
char *event;
|
char *event;
|
||||||
char *detail;
|
char *detail;
|
||||||
{
|
{
|
||||||
|
#if defined(LOG_FILE) || DEBUGGING
|
||||||
PID_T pid = xpid;
|
PID_T pid = xpid;
|
||||||
|
#endif
|
||||||
#if defined(LOG_FILE)
|
#if defined(LOG_FILE)
|
||||||
char *msg;
|
char *msg;
|
||||||
TIME_T now = time((TIME_T) 0);
|
TIME_T now = time((TIME_T) 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user