processes: use portable format string
authorMarc Fournier <marc.fournier@camptocamp.com>
Wed, 13 Jan 2016 08:10:33 +0000 (09:10 +0100)
committerMarc Fournier <marc.fournier@camptocamp.com>
Tue, 9 Feb 2016 20:40:47 +0000 (21:40 +0100)
src/processes.c

index b777515..2c6afc2 100644 (file)
@@ -572,7 +572,7 @@ static int ps_config (oconfig_item_t *ci)
 
 #if KERNEL_LINUX
                        if (strlen (c->values[0].value.string) > max_procname_len) {
-                               WARNING ("processes plugin: this platform has a %lu character limit "
+                               WARNING ("processes plugin: this platform has a %zu character limit "
                                                "to process names. The `Process \"%s\"' option will "
                                                "not work as expected.",
                                                max_procname_len, c->values[0].value.string);