diff options
author | Antonin Décimo <antonin.decimo@gmail.com> | 2020-06-04 15:43:42 +0200 |
---|---|---|
committer | Tudor Brindus <me@tbrindus.ca> | 2020-07-30 22:02:42 -0400 |
commit | bbf7b92fe4b34288dbe7c58827a1f69428ffb263 (patch) | |
tree | 2837fac64c52cb5f51cc49367a40099068374de1 /sway/ipc-server.c | |
parent | Log empty value if envvar is not defined (diff) | |
download | sway-bbf7b92fe4b34288dbe7c58827a1f69428ffb263.tar.gz sway-bbf7b92fe4b34288dbe7c58827a1f69428ffb263.tar.zst sway-bbf7b92fe4b34288dbe7c58827a1f69428ffb263.zip |
Fix incorrect format specifiers
Diffstat (limited to 'sway/ipc-server.c')
-rw-r--r-- | sway/ipc-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/ipc-server.c b/sway/ipc-server.c index 8ba8b9ba..aad9a7b5 100644 --- a/sway/ipc-server.c +++ b/sway/ipc-server.c | |||
@@ -140,7 +140,7 @@ struct sockaddr_un *ipc_user_sockaddr(void) { | |||
140 | dir = "/tmp"; | 140 | dir = "/tmp"; |
141 | } | 141 | } |
142 | if (path_size <= snprintf(ipc_sockaddr->sun_path, path_size, | 142 | if (path_size <= snprintf(ipc_sockaddr->sun_path, path_size, |
143 | "%s/sway-ipc.%i.%i.sock", dir, getuid(), getpid())) { | 143 | "%s/sway-ipc.%u.%i.sock", dir, getuid(), getpid())) { |
144 | sway_abort("Socket path won't fit into ipc_sockaddr->sun_path"); | 144 | sway_abort("Socket path won't fit into ipc_sockaddr->sun_path"); |
145 | } | 145 | } |
146 | 146 | ||