diff options
author | Jakob Bornecrantz <[email protected]> | 2018-11-12 14:55:43 +0000 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2019-01-03 15:50:38 +0000 |
commit | 6a9be6fc0c683bb5382d83737494f63b36c26187 (patch) | |
tree | c2ef898d91f4cfb3416166839a5e5189693dc518 /src | |
parent | e869481ef30d0c3576d402816fa341ea1e21456a (diff) |
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 <[email protected]>
Signed-off-by: Jakob Bornecrantz <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/winsys/virgl/vtest/virgl_vtest_socket.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/winsys/virgl/vtest/virgl_vtest_socket.c b/src/gallium/winsys/virgl/vtest/virgl_vtest_socket.c index ff69accf52f..00a197a0069 100644 --- a/src/gallium/winsys/virgl/vtest/virgl_vtest_socket.c +++ b/src/gallium/winsys/virgl/vtest/virgl_vtest_socket.c @@ -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; |