aboutsummaryrefslogtreecommitdiffstats
path: root/com32/modules/elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/modules/elf.c')
-rw-r--r--com32/modules/elf.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/com32/modules/elf.c b/com32/modules/elf.c
index d53d936c..182afa60 100644
--- a/com32/modules/elf.c
+++ b/com32/modules/elf.c
@@ -42,6 +42,7 @@
#include <sys/stat.h>
#include <elf.h>
#include <console.h>
+#include <dprintf.h>
#include <syslinux/loadfile.h>
#include <syslinux/movebits.h>
@@ -50,13 +51,6 @@
/* If we don't have this much memory for the stack, signal failure */
#define MIN_STACK 512
-#define DEBUG 0
-#if DEBUG
-# define dprintf printf
-#else
-# define dprintf(f, ...) ((void)0)
-#endif
-
static inline void error(const char *msg)
{
fputs(msg, stderr);