From 1940ec77070be4a13bd7905f18a1c70d0f9ada64 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 6 Jul 2009 22:31:28 +0200 Subject: [PATCH] cpu plugin: Fix a typo. --- src/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu.c b/src/cpu.c index 64ce5df9..dc44a50f 100644 --- a/src/cpu.c +++ b/src/cpu.c @@ -220,7 +220,7 @@ static void submit (int cpu_num, const char *type_instance, counter_t value) vl.values_len = 1; sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "cpu", sizeof (vl.plugin)); - ssnprintf (vl.plugin_instance, sizeof (vl.type_instance), + ssnprintf (vl.plugin_instance, sizeof (vl.plugin_instance), "%i", cpu_num); sstrncpy (vl.type, "cpu", sizeof (vl.type)); sstrncpy (vl.type_instance, type_instance, sizeof (vl.type_instance)); -- 2.11.0