From 585c19b99297e1372b9f57bab51cbbe219b5a274 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Manuel=20Luis=20Sanmart=C3=ADn=20Rozada?= Date: Fri, 3 Sep 2010 11:26:06 +0200 Subject: [PATCH] wpar plugin: Fix copy'n'paste errors. --- src/wpar.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wpar.c b/src/wpar.c index d2f548f3..16d4d33f 100644 --- a/src/wpar.c +++ b/src/wpar.c @@ -89,7 +89,7 @@ static void load_submit (const char *plugin_instance, gauge_t snum, gauge_t mnum vl.values = values; vl.values_len = STATIC_ARRAY_SIZE (values); sstrncpy (vl.host, hostname_g, sizeof (vl.host)); - sstrncpy (vl.plugin, "load", sizeof (vl.plugin)); + sstrncpy (vl.plugin, "wpar", sizeof (vl.plugin)); sstrncpy (vl.plugin_instance, plugin_instance, sizeof (vl.plugin_instance)); sstrncpy (vl.type, "load", sizeof (vl.type)); @@ -148,7 +148,7 @@ static int wpar_read (void) /* {{{ */ if (nwpar < 0) { char errbuf[1024]; - WARNING ("cpu plugin: perfstat_wpar_total failed: %s", + WARNING ("wpar plugin: perfstat_wpar_total failed: %s", sstrerror (errno, errbuf, sizeof (errbuf))); return (-1); } @@ -182,7 +182,7 @@ static int wpar_read (void) /* {{{ */ if (status < 0) { char errbuf[1024]; - WARNING ("memory plugin: perfstat_memory_total_wpar(%s) failed: %s", + WARNING ("wpar plugin: perfstat_memory_total_wpar(%s) failed: %s", wname, sstrerror (errno, errbuf, sizeof (errbuf))); continue; } @@ -200,7 +200,7 @@ static int wpar_read (void) /* {{{ */ if (status < 0) { char errbuf[1024]; - WARNING ("memory plugin: perfstat_cpu_total_wpar(%s) failed: %s", + WARNING ("wpar plugin: perfstat_cpu_total_wpar(%s) failed: %s", wname, sstrerror (errno, errbuf, sizeof (errbuf))); continue; } -- 2.11.0