Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Nov 2012 18:52:37 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r243036 - head/games/fortune/fortune
Message-ID:  <201211141852.qAEIqbsl029788@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211141852.qAEIqbsl029788>