svn commit: r256661 - head/lib/libproc

Mark Johnston markj at FreeBSD.org
Thu Oct 17 03:39:21 UTC 2013


Author: markj
Date: Thu Oct 17 03:39:21 2013
New Revision: 256661
URL: http://svnweb.freebsd.org/changeset/base/256661

Log:
  Fix the libproc build when DEBUG is defined.

Modified:
  head/lib/libproc/_libproc.h

Modified: head/lib/libproc/_libproc.h
==============================================================================
--- head/lib/libproc/_libproc.h	Thu Oct 17 02:02:29 2013	(r256660)
+++ head/lib/libproc/_libproc.h	Thu Oct 17 03:39:21 2013	(r256661)
@@ -49,7 +49,7 @@ struct proc_handle {
 };
 
 #ifdef DEBUG
-#define DPRINTF(fmt, ...) 	warn(fmt, __VA_ARGS__)
+#define DPRINTF(...) 	warn(__VA_ARGS__)
 #else
-#define DPRINTF(fmt, ...)
+#define DPRINTF(...)
 #endif


More information about the svn-src-head mailing list