From 4e082dd27545c503e6ee1440e45032f93216631a Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Tue, 2 Jan 2007 15:32:50 +0000 Subject: Cleanups, reorganization. Implemented foreign module calls. --- hardinfo2/arch/linux/common/pci.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 e7c940bb..5f48ba44 100644 --- a/hardinfo2/arch/linux/common/pci.h +++ b/hardinfo2/arch/linux/common/pci.h @@ -126,7 +126,7 @@ scan_pci(void) gpointer start, end; if (strdevice != NULL && strhash != NULL) { - g_hash_table_insert(devices, strhash, strdevice); + g_hash_table_insert(moreinfo, strhash, strdevice); g_free(category); g_free(name); } @@ -194,7 +194,7 @@ scan_pci(void) pci_list = g_strconcat(pci_list, "No PCI devices found=\n", NULL); } else if (strhash) { /* insert the last device */ - g_hash_table_insert(devices, strhash, strdevice); + g_hash_table_insert(moreinfo, strhash, strdevice); g_free(category); g_free(name); } -- cgit v1.2.3