From 07ba0e3bf71c3c5ad7d98be58160e13069d9cf77 Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Thu, 9 Apr 2009 19:35:15 -0300 Subject: Fix PCI device description parsing (don't stop reading when a '(' is found). Fix LP#357189. --- hardinfo2/arch/linux/common/pci.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hardinfo2/arch/linux/common/pci.h b/hardinfo2/arch/linux/common/pci.h index 73d87c7f..f77215b0 100644 --- a/hardinfo2/arch/linux/common/pci.h +++ b/hardinfo2/arch/linux/common/pci.h @@ -186,10 +186,6 @@ __scan_pci(void) category = g_strdup(buf); buf = end; - start = buf; - WALK_UNTIL('('); - *buf = 0; - buf = start + 1; if (strstr(category, "RAM memory")) icon = "mem"; else if (strstr(category, "Multimedia")) icon = "media"; -- cgit v1.2.3