svga: simplify Mesa version string
authorEric Engestrom <eric.engestrom@intel.com>
Thu, 16 Aug 2018 13:09:01 +0000 (14:09 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Thu, 16 Aug 2018 16:38:31 +0000 (17:38 +0100)
Suggested-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/drivers/svga/svga_screen.c

index 2a8825774623ea8d27451d5f1726b99ecb6b5fe3..19920fc16ec54e4a2dfecbea76fbae9ea7eb9516 100644 (file)
@@ -889,7 +889,7 @@ init_logging(struct pipe_screen *screen)
    svga_host_log(host_log);
 
    util_snprintf(host_log, sizeof(host_log) - strlen(log_prefix),
-                 "%s%s" MESA_GIT_SHA1, log_prefix, PACKAGE_VERSION);
+                 "%s" PACKAGE_VERSION MESA_GIT_SHA1, log_prefix);
    svga_host_log(host_log);
 
    /* If the SVGA_EXTRA_LOGGING env var is set, log the process's command