]> mj.ucw.cz Git - pciutils.git/blobdiff - lib/i386-ports.c
lspci: Show Slot Power Limit values above EFh
[pciutils.git] / lib / i386-ports.c
index 8b7ceb7f71c76f493606d256f4e4f6eca5e4ee15..20bce94b7d01eaccacde05219415f8d62b8a5f82 100644 (file)
@@ -75,6 +75,7 @@ intel_sanity_check(struct pci_access *a, struct pci_methods *m)
 {
   struct pci_dev d;
 
+  memset(&d, 0, sizeof(d));
   a->debug("...sanity check");
   d.bus = 0;
   d.func = 0;