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/storage.h | |
parent | 2ac586a621e9d20667838df367ce5c3b4b428500 (diff) |
Cleanups, reorganization. Implemented foreign module calls.
Diffstat (limited to 'hardinfo2/arch/linux/common/storage.h')
-rw-r--r-- | hardinfo2/arch/linux/common/storage.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hardinfo2/arch/linux/common/storage.h b/hardinfo2/arch/linux/common/storage.h index 4c9b5633..3397570d 100644 --- a/hardinfo2/arch/linux/common/storage.h +++ b/hardinfo2/arch/linux/common/storage.h @@ -43,7 +43,7 @@ scan_scsi(void) gchar *vendor = NULL, *revision = NULL, *model = NULL; /* remove old devices from global device table */ - g_hash_table_foreach_remove(devices, remove_scsi_devices, NULL); + g_hash_table_foreach_remove(moreinfo, remove_scsi_devices, NULL); if (!g_file_test("/proc/scsi/scsi", G_FILE_TEST_EXISTS)) return; @@ -136,7 +136,7 @@ scan_scsi(void) scsi_channel, scsi_id, scsi_lun); - g_hash_table_insert(devices, devid, strhash); + g_hash_table_insert(moreinfo, devid, strhash); g_free(model); g_free(revision); @@ -169,7 +169,7 @@ scan_ide(void) gchar *capab = NULL, *speed = NULL, *driver = NULL; /* remove old devices from global device table */ - g_hash_table_foreach_remove(devices, remove_ide_devices, NULL); + g_hash_table_foreach_remove(moreinfo, remove_ide_devices, NULL); storage_list = g_strdup_printf("%s\n[IDE Disks]\n", storage_list); @@ -345,7 +345,7 @@ scan_ide(void) speed = NULL; } - g_hash_table_insert(devices, devid, strhash); + g_hash_table_insert(moreinfo, devid, strhash); g_free(model); model = ""; |