diff --git a/plugins/hostname.c b/plugins/hostname.c
index caf0579..c6c88c1 100644
--- a/plugins/hostname.c
+++ b/plugins/hostname.c
g_free(pretty_hostname);
pretty_hostname = g_strdup(str);
- manager_foreach_adapter(update_name, NULL);
+ adapter_foreach(update_name, NULL);
}
} else if (g_str_equal(name, "Chassis") == TRUE) {
if (iter == NULL) {
major_class = chassis_table[i].major_class;
minor_class = chassis_table[i].minor_class;
- manager_foreach_adapter(update_class, NULL);
+ adapter_foreach(update_class, NULL);
break;
}
}