diff --git a/iscsi-scst/usr/event.c b/iscsi-scst/usr/event.c index bcc9c08bb..784f8c67f 100644 --- a/iscsi-scst/usr/event.c +++ b/iscsi-scst/usr/event.c @@ -42,7 +42,7 @@ static int nl_write(int fd, void *data, int len) { struct iovec iov[2]; struct msghdr msg; - struct nlmsghdr nlh; + struct nlmsghdr nlh = {0}; iov[0].iov_base = &nlh; iov[0].iov_len = sizeof(nlh);