summaryrefslogtreecommitdiffstats
path: root/sys/compat/freebsd32/freebsd32_ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/freebsd32/freebsd32_ioctl.c')
-rw-r--r--sys/compat/freebsd32/freebsd32_ioctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/compat/freebsd32/freebsd32_ioctl.c b/sys/compat/freebsd32/freebsd32_ioctl.c
index b634b30..b6cdbd9 100644
--- a/sys/compat/freebsd32/freebsd32_ioctl.c
+++ b/sys/compat/freebsd32/freebsd32_ioctl.c
@@ -262,6 +262,8 @@ freebsd32_ioctl_pciocgetconf(struct thread *td,
vm_offset_t addr;
int error;
+ memset(&pmc, 0, sizeof(pmc));
+ memset(&pc32, 0, sizeof(pc32));
if ((error = copyin(uap->data, &pci32, sizeof(pci32))) != 0)
return (error);
OpenPOWER on IntegriCloud