summaryrefslogtreecommitdiff
path: root/com32/modules/ethersel.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2011-06-27 18:51:11 -0700
committerH. Peter Anvin <hpa@zytor.com>2012-05-18 16:03:55 -0700
commitbe697f88819ef20d72d1e7ea7d3d975d1fed5fb0 (patch)
treec4806ebe933187b148bb0c9d7995f5adca7fbd41 /com32/modules/ethersel.c
parent28b6380be03908a3c3a7a93254e9dcbc0e74592a (diff)
downloadsyslinux-be697f88819ef20d72d1e7ea7d3d975d1fed5fb0.tar.gz
Use <dprintf.h> instead of an ad hoc definition
Instead of using ad hoc definitions of dprintf, dprintf2, vdprintf and vdprintf2, use <dprintf.h> everywhere possible. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/modules/ethersel.c')
-rw-r--r--com32/modules/ethersel.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/com32/modules/ethersel.c b/com32/modules/ethersel.c
index d6b4774f..039de276 100644
--- a/com32/modules/ethersel.c
+++ b/com32/modules/ethersel.c
@@ -38,12 +38,7 @@
#include <com32.h>
#include <syslinux/boot.h>
#include <syslinux/config.h>
-
-#ifdef DEBUG
-# define dprintf printf
-#else
-# define dprintf(...) ((void)0)
-#endif
+#include <dprintf.h>
#define MAX_LINE 512