svn commit: r308225 - head/sys/dev/cpuctl

Andriy Gapon avg at FreeBSD.org
Wed Nov 2 17:47:20 UTC 2016


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(...)


More information about the svn-src-all mailing list