processes plugin: Fix a format string. collectd-4.3
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Thu, 4 Sep 2008 13:00:40 +0000 (15:00 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Thu, 4 Sep 2008 13:00:40 +0000 (15:00 +0200)
src/processes.c

index 6ad4681..c837681 100644 (file)
@@ -850,7 +850,7 @@ static int ps_read (void)
                                         * There's only zombie tasks, which are
                                         * handled above. */
                                        default:
-                                               WARNING ("Unknown thread status: %s",
+                                               WARNING ("Unknown thread status: %i",
                                                                thread_data.run_state);
                                                break;
                                } /* switch (thread_data.run_state) */