From 4c517454b6ed5bd9ed5ec74cdf04e3c3be9af261 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Wed, 5 Oct 2016 15:33:24 +0200 Subject: [PATCH] libs/vkd3d: Debug output should go to stderr. --- libs/vkd3d/debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/vkd3d/debug.c b/libs/vkd3d/debug.c index 9d8db5d8..dab0714e 100644 --- a/libs/vkd3d/debug.c +++ b/libs/vkd3d/debug.c @@ -73,9 +73,9 @@ void vkd3d_dbg_printf(enum vkd3d_dbg_level level, const char *function, const ch assert(level <= sizeof(debug_level_names) / sizeof(*debug_level_names)); - printf("%s:%s: ", debug_level_names[level], function); + fprintf(stderr, "%s:%s: ", debug_level_names[level], function); va_start(args, fmt); - vprintf(fmt, args); + vfprintf(stderr, fmt, args); va_end(args); }