]> mj.ucw.cz Git - pciutils.git/blobdiff - pciutils.h
Fixed MSAN errnum use-of-uninitialized value warning. gzerror is not guaranteed to...
[pciutils.git] / pciutils.h
index 1de2b01fcd7315faf367d967d0995c785a6c37a2..3c5fac616479c95e73f5e89156539afcc2b1262b 100644 (file)
@@ -1,7 +1,7 @@
 /*
  *     The PCI Utilities -- Declarations
  *
- *     Copyright (c) 1997--2016 Martin Mares <mj@ucw.cz>
+ *     Copyright (c) 1997--2018 Martin Mares <mj@ucw.cz>
  *
  *     Can be freely distributed and used under the terms of the GNU GPL.
  */
@@ -23,7 +23,7 @@ void die(char *msg, ...) NONRET PCI_PRINTF(1,2);
 void *xmalloc(size_t howmuch);
 void *xrealloc(void *ptr, size_t howmuch);
 char *xstrdup(const char *str);
-int parse_generic_option(int i, struct pci_access *pacc, char *optarg);
+int parse_generic_option(int i, struct pci_access *pacc, char *arg);
 
 #ifdef PCI_HAVE_PM_INTEL_CONF
 #define GENOPT_INTEL "H:"