summaryrefslogtreecommitdiff
path: root/include/libelfu/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libelfu/debug.h')
-rw-r--r--include/libelfu/debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libelfu/debug.h b/include/libelfu/debug.h
index 4c82345..6b817b3 100644
--- a/include/libelfu/debug.h
+++ b/include/libelfu/debug.h
@@ -4,6 +4,8 @@
#include <stdio.h>
+#define ELFU_INFO(...) do { fprintf(stdout, __VA_ARGS__); } while(0)
+
#define ELFU_WARN(...) do { fprintf(stderr, __VA_ARGS__); } while(0)
#define ELFU_WARNELF(function_name) ELFU_WARN(function_name "() failed: %s\n", elf_errmsg(-1))