From 6ad1c1c257c74c82179a0eb62277ceef1cc4e9e0 Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Tue, 31 Jan 2006 23:35:06 +0000 Subject: Sync with internal subversion --- hardinfo2/arch/linux/common/pci.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hardinfo2/arch/linux/common/pci.h') diff --git a/hardinfo2/arch/linux/common/pci.h b/hardinfo2/arch/linux/common/pci.h index 8f3216e2..f8c9d319 100644 --- a/hardinfo2/arch/linux/common/pci.h +++ b/hardinfo2/arch/linux/common/pci.h @@ -84,7 +84,8 @@ scan_pci(void) strdevice = g_strdup_printf("%sOEM Vendor=%s\n", strdevice, buf); } else if (!strncmp(buf, "Capabilities", 12) - && !strstr(buf, "only to root")) { + && !strstr(buf, "only to root") && + !strstr(buf, "access denied")) { WALK_UNTIL(' '); WALK_UNTIL(']'); buf++; -- cgit v1.2.3