summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 10c85e8)
raw | patch | inline | side by side (parent: 10c85e8)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 6 Jul 2009 20:31:28 +0000 (22:31 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 6 Jul 2009 20:31:28 +0000 (22:31 +0200) |
src/cpu.c | patch | blob | history |
diff --git a/src/cpu.c b/src/cpu.c
index 64ce5df9e27b8158942c70203ceb763a54f1bead..dc44a50ff5f71b732ae69a4be9ba64401b09d7e7 100644 (file)
--- a/src/cpu.c
+++ b/src/cpu.c
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));