Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2013 03:39:21 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r256661 - head/lib/libproc
Message-ID:  <201310170339.r9H3dL0J086383@svn.freebsd.org>

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



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