From 2ae2d1aed3fcb4ca01a8fdf8633eb83ad9cffeb0 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 5 May 2006 21:46:53 +0200 Subject: [PATCH] Fixed a silly bug in processing of the -D switch. --- ChangeLog | 7 +++++++ Makefile | 2 +- lspci.c | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 27c57a4..98ee562 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-05-05 Martin Mares + + * Released as 2.2.3. + + * lspci.c (scan_device): The -D switch didn't work as intended + in -m mode. + 2006-05-05 Martin Mares * Released as 2.2.2. diff --git a/Makefile b/Makefile index 4b69e87..5f173f3 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ OPT=-O2 CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Winline -VERSION=2.2.2 +VERSION=2.2.3 DATE=2006-05-05 PREFIX=/usr/local diff --git a/lspci.c b/lspci.c index 8be707c..581ee65 100644 --- a/lspci.c +++ b/lspci.c @@ -106,7 +106,7 @@ scan_device(struct pci_dev *p) { struct device *d; - if (p->domain) + if (p->domain && !show_domains) show_domains = 1; if (!pci_filter_match(&filter, p)) return NULL; -- 2.39.2