diff options
author | Agney Lopes Roth Ferraz <agney@debian.org> | 2009-09-24 15:13:54 -0300 |
---|---|---|
committer | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:49 -0500 |
commit | 0bd39c5982a7776caae412f93f9dd2abf0b3eaea (patch) | |
tree | 0fdf3718ea01d3aa834e850c983c65edce14a583 /devices.c | |
parent | 1b6665085f47e0a86e4bebd5e313a2ab63600eb4 (diff) | |
parent | 7c47b5b9584f5011aeba18d7e1b26b3d3124825f (diff) |
Import Debian changes 0.5.1-1
hardinfo (0.5.1-1) unstable; urgency=low
* New upstream version. (Closes: #530290, #517591)
Diffstat (limited to 'devices.c')
-rw-r--r-- | devices.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -424,16 +424,14 @@ guchar hi_module_get_weight(void) void hi_module_init(void) { if (!g_file_test("/usr/share/misc/pci.ids", G_FILE_TEST_EXISTS)) { - static SyncEntry se[] = { - { + static SyncEntry se = { .fancy_name = "Update PCI ID listing", .name = "GetPCIIds", .save_to = "pci.ids", .get_data = NULL - } }; - sync_manager_add_entry(&se[0]); + sync_manager_add_entry(&se); } moreinfo = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free); |