diff options
author | norly <ny-git@enpas.org> | 2013-05-25 00:46:12 +0100 |
---|---|---|
committer | norly <ny-git@enpas.org> | 2013-05-25 00:46:12 +0100 |
commit | 3d899fbfd33a8b44dcbd7dfbc952464731a7e589 (patch) | |
tree | 4d8a3a294043772e3a7c55ca12b520d5499d68bf /include | |
parent | 6a6a9a2e94f14470f26c2e74767b5ebb48dd7df2 (diff) |
Be more verbose
Diffstat (limited to 'include')
-rw-r--r-- | include/libelfu/debug.h | 2 |
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)) |