summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libproc/_libproc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libproc/_libproc.h b/lib/libproc/_libproc.h
index aee1ac1..aab0850 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
OpenPOWER on IntegriCloud