Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Nov 2016 17:47:19 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r308225 - head/sys/dev/cpuctl
Message-ID:  <201611021747.uA2HlJOp020778@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Wed Nov  2 17:47:19 2016
New Revision: 308225
URL: https://svnweb.freebsd.org/changeset/base/308225

Log:
  dev/cpuctl: put debug output under CPUCTL_DEBUG rather than DEBUG
  
  DEBUG is a well-known flag.
  It doesn't imply that there is a particular interest in cpuctl.
  
  MFC after:	1 week

Modified:
  head/sys/dev/cpuctl/cpuctl.c

Modified: head/sys/dev/cpuctl/cpuctl.c
==============================================================================
--- head/sys/dev/cpuctl/cpuctl.c	Wed Nov  2 17:34:33 2016	(r308224)
+++ head/sys/dev/cpuctl/cpuctl.c	Wed Nov  2 17:47:19 2016	(r308225)
@@ -57,7 +57,7 @@ static d_ioctl_t cpuctl_ioctl;
 
 #define	CPUCTL_VERSION 1
 
-#ifdef DEBUG
+#ifdef CPUCTL_DEBUG
 # define	DPRINTF(format,...) printf(format, __VA_ARGS__);
 #else
 # define	DPRINTF(...)



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