From 4955e668e477720e371a8f4abcd2931ff359cc48 Mon Sep 17 00:00:00 2001 From: Russell King Date: Sat, 22 Jun 2013 22:17:49 +0100 Subject: Make debug output go to stderr --- bmm_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -#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 -- cgit