Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Nov 2012 23:31:17 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r243197 - stable/9/games/fortune/fortune
Message-ID:  <201211172331.qAHNVHS8006951@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Sat Nov 17 23:31:16 2012
New Revision: 243197
URL: http://svnweb.freebsd.org/changeset/base/243197

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

Modified:
  stable/9/games/fortune/fortune/fortune.c
Directory Properties:
  stable/9/games/fortune/fortune/   (props changed)

Modified: stable/9/games/fortune/fortune/fortune.c
==============================================================================
--- stable/9/games/fortune/fortune/fortune.c	Sat Nov 17 23:14:31 2012	(r243196)
+++ stable/9/games/fortune/fortune/fortune.c	Sat Nov 17 23:31:16 2012	(r243197)
@@ -109,7 +109,7 @@ bool	Equal_probs	= FALSE;	/* scatter un-
 bool	Match		= FALSE;	/* dump fortunes matching a pattern */
 static bool	WriteToDisk = false;	/* use files on disk to save state */
 #ifdef DEBUG
-bool	Debug = FALSE;			/* print debug messages */
+int	Debug = FALSE;			/* print debug messages */
 #endif
 
 char	*Fortbuf = NULL;			/* fortune buffer for -m */



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