diff options
author | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:48 -0500 |
---|---|---|
committer | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:48 -0500 |
commit | 7c47b5b9584f5011aeba18d7e1b26b3d3124825f (patch) | |
tree | 11b07e1c73a22a6ec5ebd710c9a72e972a4c571b /devices.c | |
parent | 4979bb6cbbbe39eb44c32530cd13f86bf44e5d77 (diff) |
Import Upstream version 0.5.1
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); |