proxy: log with virgl_logv

We lose the "proxy: " prefix, but we can live with it.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Ryan Neph <ryanneph@google.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
macos/master
Chia-I Wu 3 years ago
parent 2aed5d4197
commit b30811f86c
  1. 7
      src/proxy/proxy_common.c

@ -14,12 +14,7 @@ void
proxy_log(const char *fmt, ...) proxy_log(const char *fmt, ...)
{ {
va_list va; va_list va;
va_start(va, fmt); va_start(va, fmt);
virgl_logv(fmt, va);
fprintf(stderr, "proxy: ");
vfprintf(stderr, fmt, va);
fprintf(stderr, "\n");
va_end(va); va_end(va);
} }

Loading…
Cancel
Save