mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
virgl/vtest: Use default socket name from protocol header
No functional change as the socket name is the same, just removing the double definition of the path. Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org> Signed-off-by: Jakob Bornecrantz <jakob@collabora.com>
This commit is contained in:
parent
e869481ef3
commit
6a9be6fc0c
1 changed files with 1 additions and 3 deletions
|
|
@ -30,8 +30,6 @@
|
|||
|
||||
#include <os/os_process.h>
|
||||
#include <util/u_format.h>
|
||||
/* connect to remote socket */
|
||||
#define VTEST_SOCKET_NAME "/tmp/.virgl_test"
|
||||
|
||||
#include "virgl_vtest_winsys.h"
|
||||
#include "virgl_vtest_public.h"
|
||||
|
|
@ -163,7 +161,7 @@ int virgl_vtest_connect(struct virgl_vtest_winsys *vws)
|
|||
|
||||
memset(&un, 0, sizeof(un));
|
||||
un.sun_family = AF_UNIX;
|
||||
snprintf(un.sun_path, sizeof(un.sun_path), "%s", VTEST_SOCKET_NAME);
|
||||
snprintf(un.sun_path, sizeof(un.sun_path), "%s", VTEST_DEFAULT_SOCKET_NAME);
|
||||
|
||||
do {
|
||||
ret = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue