--- common/log.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/log.h b/common/log.h index e0fd34b..4058208 100644 --- a/common/log.h +++ b/common/log.h @@ -57,9 +57,7 @@ void spice_log(GLogLevelFlags log_level, spice_log(G_LOG_LEVEL_WARNING, SPICE_STRLOC, __FUNCTION__, "should not be reached"); \ } G_STMT_END -#define spice_printerr(format, ...) G_STMT_START { \ - fprintf(stderr, "%s: " format "\n", __FUNCTION__, ## __VA_ARGS__); \ -} G_STMT_END +#define spice_printerr g_message #define spice_info(format, ...) G_STMT_START { \ spice_log(G_LOG_LEVEL_INFO, SPICE_STRLOC, __FUNCTION__, "" format, ## __VA_ARGS__); \ -- 2.17.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel