From ddab3efe26e7a02438be35bb5045aab5c4094d1c Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 17 Mar 2010 19:12:53 +0100 Subject: [PATCH] netapp plugin: Fix a syntax error in an error message. Thanks to facade from IRC for the hint. --- src/netapp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.30.2