From a6b973003b034e5245b2b7f031c194e04ef3c46b Mon Sep 17 00:00:00 2001 From: Bananymous Date: Tue, 17 Sep 2024 18:35:27 +0300 Subject: [PATCH] WindowServer: chmod the correct file --- userspace/programs/WindowServer/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userspace/programs/WindowServer/main.cpp b/userspace/programs/WindowServer/main.cpp index 2d341b07..05b51c87 100644 --- a/userspace/programs/WindowServer/main.cpp +++ b/userspace/programs/WindowServer/main.cpp @@ -130,7 +130,7 @@ int open_server_fd() exit(1); } - if (chmod("/tmp/resolver.sock", 0777) == -1) + if (chmod(LibGUI::s_window_server_socket.data(), 0777) == -1) { perror("chmod"); exit(1);