From: David Goulet Date: Thu, 29 Sep 2011 17:16:55 +0000 (-0400) Subject: Write debug message on stderr X-Git-Tag: v2.0-pre14~5 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=94484837e95ecc39adfd75748ecab3b973a991d6;p=lttng-tools.git Write debug message on stderr Signed-off-by: David Goulet --- diff --git a/include/lttngerr.h b/include/lttngerr.h index c2f4d5198..92a18f11d 100644 --- a/include/lttngerr.h +++ b/include/lttngerr.h @@ -49,7 +49,7 @@ extern int opt_verbose; opt_verbose == 2) || \ ((type & (PRINT_DBG | PRINT_DBG2 | PRINT_DBG3)) && \ opt_verbose == 3)) { \ - fprintf(stdout, fmt, ## args); \ + fprintf(stderr, fmt, ## args); \ } else if (type & (PRINT_ERR | PRINT_WARN | PRINT_BUG)) { \ fprintf(stderr, fmt, ## args); \ } \