From 25aecfbb23ed02e70c27d3c3e0ab417e012540ee Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Thu, 17 Oct 2013 03:39:21 +0000 Subject: [PATCH] Fix the libproc build when DEBUG is defined. --- lib/libproc/_libproc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libproc/_libproc.h b/lib/libproc/_libproc.h index aee1ac1f67f8..aab085006623 100644 --- a/lib/libproc/_libproc.h +++ b/lib/libproc/_libproc.h @@ -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