svn commit: r241125 - head/usr.sbin/cron/lib
Sergey Kandaurov
pluknet at FreeBSD.org
Tue Oct 2 09:23:17 UTC 2012
Author: pluknet
Date: Tue Oct 2 09:23:16 2012
New Revision: 241125
URL: http://svn.freebsd.org/changeset/base/241125
Log:
Fix build with LOG_FILE undefined and DEBUGGING disabled.
Modified:
head/usr.sbin/cron/lib/misc.c
Modified: head/usr.sbin/cron/lib/misc.c
==============================================================================
--- head/usr.sbin/cron/lib/misc.c Tue Oct 2 09:19:28 2012 (r241124)
+++ head/usr.sbin/cron/lib/misc.c Tue Oct 2 09:23:16 2012 (r241125)
@@ -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);
More information about the svn-src-head
mailing list