git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-69
2005-08-22 Martin Mares <mj@ucw.cz>
+ * lib/filter.c (pci_filter_parse_slot): Fixed parsing of domain filters.
+ Thanks to Matthew Wilcox for bug report.
+
* lspci.c: Corrected spelling of "Hz" (it was "hz" at several places).
- Thanks to Krzysztof Oledzki <ole@ans.pl> for pointing that out.
+ Thanks to Krzysztof Oledzki for pointing that out.
2004-08-19 Martin Mares <mj@ucw.cz>
bus = colon2;
if (str[0] && strcmp(str, "*"))
{
- long int x = strtol(bus, &e, 16);
+ long int x = strtol(str, &e, 16);
if ((e && *e) || (x < 0 || x > 0xffff))
return "Invalid domain number";
f->domain = x;