From: Florian Forster Date: Wed, 17 Mar 2010 18:12:53 +0000 (+0100) Subject: netapp plugin: Fix a syntax error in an error message. X-Git-Tag: collectd-4.9.2~7 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=ddab3efe26e7a02438be35bb5045aab5c4094d1c;p=collectd.git netapp plugin: Fix a syntax error in an error message. Thanks to facade from IRC for the hint. --- diff --git a/src/netapp.c b/src/netapp.c index abd56127..fc653582 100644 --- a/src/netapp.c +++ b/src/netapp.c @@ -1490,7 +1490,7 @@ static void cna_handle_volume_snap_usage(const host_config_t *host, /* {{{ */ { 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; } @@ -1525,7 +1525,7 @@ static int cna_handle_volume_usage_data (const host_config_t *host, /* {{{ */ { ERROR ("netapp plugin: cna_handle_volume_usage_data: " "na_elem_child (\"volumes\") failed " - "for host %s.", hostname); + "for host %s.", host->name); return (-1); }