userdbd: make static const what we can make so

This commit is contained in:
Lennart Poettering
2023-03-15 15:48:17 +01:00
parent 66a3869e7e
commit b260be2ca7

View File

@@ -243,7 +243,7 @@ int manager_startup(Manager *m) {
if (n == 1)
m->listen_fd = SD_LISTEN_FDS_START;
else {
union sockaddr_union sockaddr = {
static const union sockaddr_union sockaddr = {
.un.sun_family = AF_UNIX,
.un.sun_path = "/run/systemd/userdb/io.systemd.Multiplexer",
};