summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bmm_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bmm_lib.c b/bmm_lib.c
index 1a4063c..e6ba3e9 100644
--- a/bmm_lib.c
+++ b/bmm_lib.c
@@ -25,7 +25,7 @@
#ifdef DEBUG
#include <stdio.h>
-#define pr_debug(fmt, arg...) printf(fmt, ##arg)
+#define pr_debug(fmt, arg...) fprintf(stderr, fmt, ##arg)
#else
#define pr_debug(fmt, arg...) do { } while(0)
#endif