forked from libretro/Lakka-LibreELEC
12 lines
370 B
Diff
12 lines
370 B
Diff
--- a/sway/ipc-server.c
|
|
+++ b/sway/ipc-server.c
|
|
@@ -140,7 +140,7 @@ struct sockaddr_un *ipc_user_sockaddr(vo
|
|
dir = "/tmp";
|
|
}
|
|
if (path_size <= snprintf(ipc_sockaddr->sun_path, path_size,
|
|
- "%s/sway-ipc.%u.%i.sock", dir, getuid(), getpid())) {
|
|
+ "%s/sway-ipc.%u.sock", dir, getuid())) {
|
|
sway_abort("Socket path won't fit into ipc_sockaddr->sun_path");
|
|
}
|
|
|