mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-15 00:27:05 +00:00
start: do not init ns_clone_flags to -1
ns_clone_flags is used as a bitmask so initializing it to -1 is a bad idea. Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
f1a571d669
commit
f3815517f2
@ -619,8 +619,6 @@ void lxc_zero_handler(struct lxc_handler *handler)
|
||||
|
||||
memset(handler, 0, sizeof(struct lxc_handler));
|
||||
|
||||
handler->ns_clone_flags = -1;
|
||||
|
||||
handler->pinfd = -1;
|
||||
|
||||
handler->sigfd = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user