svn commit: r200627 - head/usr.bin/calendar

Ralf S. Engelschall rse at FreeBSD.org
Thu Dec 17 08:41:06 UTC 2009


Author: rse
Date: Thu Dec 17 08:41:06 2009
New Revision: 200627
URL: http://svn.freebsd.org/changeset/base/200627

Log:
  DEBUG is either defined or not defined for the 'calender' sources, so use #ifdef and not just #if -- both to be semantically correct and also to be aligned with the rest of the 'calendar' sources

Modified:
  head/usr.bin/calendar/ostern.c

Modified: head/usr.bin/calendar/ostern.c
==============================================================================
--- head/usr.bin/calendar/ostern.c	Thu Dec 17 08:37:02 2009	(r200626)
+++ head/usr.bin/calendar/ostern.c	Thu Dec 17 08:41:06 2009	(r200627)
@@ -87,7 +87,7 @@ geteaster(char *s, int year)
 	else
 		return (0);
 
-#if DEBUG
+#ifdef DEBUG
 	printf("%s %d %d\n", s, year, EASTERNAMELEN);
 #endif
 


More information about the svn-src-all mailing list