diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index 928691c434087e8ff72b84fc6515539115c0509b..6a7fe7660551f45c065a7f472b805c0b8073f6bb 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c @@ -996,7 +996,7 @@ static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) unsigned int hash; struct unix_address *addr; struct hlist_head *list; - struct path path = { NULL, NULL }; + struct path path = { }; err = -EINVAL; if (sunaddr->sun_family != AF_UNIX)