summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8caac0e)
raw | patch | inline | side by side (parent: 8caac0e)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Sun, 18 Dec 2016 10:17:59 +0000 (11:17 +0100) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Sun, 18 Dec 2016 10:17:59 +0000 (11:17 +0100) |
src/dpdkstat.c | patch | blob | history |
diff --git a/src/dpdkstat.c b/src/dpdkstat.c
index de75c0c09c430107ef21a53ebb36db63b5288a7f..3ab269d5a10d3af9163001258585dbe04127b561 100644 (file)
--- a/src/dpdkstat.c
+++ b/src/dpdkstat.c
static void dpdk_config_init_default(void) {
g_configuration->interval = plugin_get_interval();
if (g_configuration->interval == cf_get_default_interval())
- WARNING("dpdkstat: No time interval was configured, default value %lu ms "
- "is set",
+ WARNING("dpdkstat: No time interval was configured, default value %" PRIu64
+ " ms is set",
CDTIME_T_TO_MS(g_configuration->interval));
/* Default is all ports enabled */
g_configuration->enabled_port_mask = ~0;
if (pid > 0) {
close(g_configuration->helper_pipes[1]);
g_configuration->helper_pid = pid;
- DEBUG("dpdkstat: helper pid %lu", (long)g_configuration->helper_pid);
+ DEBUG("dpdkstat: helper pid %li", (long)g_configuration->helper_pid);
/* Kick helper once its alive to have it start processing */
sem_post(&g_configuration->sema_helper_get_stats);
} else if (pid == 0) {