summaryrefslogtreecommitdiffstats
path: root/src/out_format.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/out_format.c')
-rw-r--r--src/out_format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/out_format.c b/src/out_format.c
index 19c588f..84a5a2b 100644
--- a/src/out_format.c
+++ b/src/out_format.c
@@ -126,10 +126,10 @@ static char *get_token(struct element_group *g, struct element *e,
}
if (!strncasecmp(type, "rx:", 3)) {
- snprintf(buf, len, "%llu", a->a_rx_rate.r_total);
+ snprintf(buf, len, "%" PRIu64, a->a_rx_rate.r_total);
return buf;
} else if (!strncasecmp(type, "tx:", 3)) {
- snprintf(buf, len, "%llu", a->a_tx_rate.r_total);
+ snprintf(buf, len, "%" PRIu64, a->a_tx_rate.r_total);
return buf;
} else if (!strncasecmp(type, "rxrate:", 7)) {
snprintf(buf, len, "%.2f", a->a_rx_rate.r_rate);