From b30811f86cdaf086d17cdd8c8f90d647c40d9391 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Mon, 13 Dec 2021 11:04:59 -0800 Subject: [PATCH] proxy: log with virgl_logv We lose the "proxy: " prefix, but we can live with it. Signed-off-by: Chia-I Wu Reviewed-by: Ryan Neph Reviewed-by: Yiwei Zhang --- src/proxy/proxy_common.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/proxy/proxy_common.c b/src/proxy/proxy_common.c index 87fd182..4a7c6a2 100644 --- a/src/proxy/proxy_common.c +++ b/src/proxy/proxy_common.c @@ -14,12 +14,7 @@ void proxy_log(const char *fmt, ...) { va_list va; - va_start(va, fmt); - - fprintf(stderr, "proxy: "); - vfprintf(stderr, fmt, va); - fprintf(stderr, "\n"); - + virgl_logv(fmt, va); va_end(va); }