X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/d26ffc64f583ab2d29df48f13518685602bc8832..d9a64523371fa019c4575bb400cbbc3a50ac9903:/bsd/net/if_ports_used.c diff --git a/bsd/net/if_ports_used.c b/bsd/net/if_ports_used.c index f5f7f9c11..643df3b2d 100644 --- a/bsd/net/if_ports_used.c +++ b/bsd/net/if_ports_used.c @@ -34,13 +34,13 @@ #include #include #include +#include #include #include #include #include -#include #include #include @@ -461,13 +461,13 @@ sysctl_wakeuuid_not_set_last_time SYSCTL_HANDLER_ARGS #pragma unused(oidp, arg1, arg2) if (proc_is64bit(req->p)) { - struct user64_timeval tv; + struct user64_timeval tv = {}; tv.tv_sec = wakeuuid_not_set_last_time.tv_sec; tv.tv_usec = wakeuuid_not_set_last_time.tv_usec; return SYSCTL_OUT(req, &tv, sizeof(tv)); } else { - struct user32_timeval tv; + struct user32_timeval tv = {}; tv.tv_sec = wakeuuid_not_set_last_time.tv_sec; tv.tv_usec = wakeuuid_not_set_last_time.tv_usec;