svn commit: r243036 - head/games/fortune/fortune

Dimitry Andric dim at FreeBSD.org
Wed Nov 14 18:52:37 UTC 2012


Author: dim
Date: Wed Nov 14 18:52:37 2012
New Revision: 243036
URL: http://svnweb.freebsd.org/changeset/base/243036

Log:
  In games/fortune/fortune/fortune.c, make 'Debug' the correct type (it is
  *not* a boolean).
  
  MFC after:	3 days

Modified:
  head/games/fortune/fortune/fortune.c

Modified: head/games/fortune/fortune/fortune.c
==============================================================================
--- head/games/fortune/fortune/fortune.c	Wed Nov 14 18:51:12 2012	(r243035)
+++ head/games/fortune/fortune/fortune.c	Wed Nov 14 18:52:37 2012	(r243036)
@@ -109,7 +109,7 @@ static bool	Equal_probs = FALSE;	/* scat
 static bool	Match = FALSE;		/* dump fortunes matching a pattern */
 static bool	WriteToDisk = false;	/* use files on disk to save state */
 #ifdef DEBUG
-static bool	Debug = FALSE;		/* print debug messages */
+static int	Debug = 0;		/* print debug messages */
 #endif
 
 static char	*Fortbuf = NULL;	/* fortune buffer for -m */


More information about the svn-src-head mailing list