nspawn: make more stuff const

And if we make it const, we can also make it static.
This commit is contained in:
Lennart Poettering
2022-03-17 19:07:48 +01:00
parent d1d0b895dc
commit 1eb874b978
+1 -1
View File
@@ -3563,7 +3563,7 @@ static int inner_child(
static int setup_notify_child(void) {
_cleanup_close_ int fd = -1;
union sockaddr_union sa = {
static const union sockaddr_union sa = {
.un.sun_family = AF_UNIX,
.un.sun_path = NSPAWN_NOTIFY_SOCKET_PATH,
};