{
ERROR ("netapp plugin: cna_handle_volume_snap_usage: "
"na_elem_child (\"snapshots\") failed "
- "for host %s.", hostname);
+ "for host %s.", host->name);
na_elem_free(data);
return;
}
{
ERROR ("netapp plugin: cna_handle_volume_usage_data: "
"na_elem_child (\"volumes\") failed "
- "for host %s.", hostname);
+ "for host %s.", host->name);
return (-1);
}
ud.data = host;
ud.free_func = (void (*) (void *)) free_host_config;
- plugin_register_complex_read (cb_name,
+ plugin_register_complex_read (/* group = */ NULL, cb_name,
/* callback = */ cna_read,
/* interval = */ (host->interval > 0) ? &interval : NULL,
/* user data = */ &ud);