mirror of
https://github.com/swaywm/sway.git
synced 2025-11-09 13:29:49 -05:00
Fix incorrect format specifiers
This commit is contained in:
parent
a1c6052383
commit
bbf7b92fe4
7 changed files with 10 additions and 10 deletions
|
|
@ -140,7 +140,7 @@ struct sockaddr_un *ipc_user_sockaddr(void) {
|
|||
dir = "/tmp";
|
||||
}
|
||||
if (path_size <= snprintf(ipc_sockaddr->sun_path, path_size,
|
||||
"%s/sway-ipc.%i.%i.sock", dir, getuid(), getpid())) {
|
||||
"%s/sway-ipc.%u.%i.sock", dir, getuid(), getpid())) {
|
||||
sway_abort("Socket path won't fit into ipc_sockaddr->sun_path");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue