diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2007-01-02 15:32:50 +0000 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2007-01-02 15:32:50 +0000 |
commit | 4e082dd27545c503e6ee1440e45032f93216631a (patch) | |
tree | 3b0b64937a40e9b7256647455cada96b99fed96c /hardinfo2/arch/linux/common/pci.h | |
parent | 2ac586a621e9d20667838df367ce5c3b4b428500 (diff) |
Cleanups, reorganization. Implemented foreign module calls.
Diffstat (limited to 'hardinfo2/arch/linux/common/pci.h')
-rw-r--r-- | hardinfo2/arch/linux/common/pci.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |