diff options
author | Thomas Graf <tgraf@suug.ch> | 2014-06-02 15:03:43 +0200 |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2014-06-02 15:03:43 +0200 |
commit | ee347743aedda321f5e0c24664d67e198ed70af8 (patch) | |
tree | bdb06efde359947e3e24a0d3bcda3b5279b1a39d /src/out_format.c | |
parent | deb1cd2aba61791a6dcb11679e867f0abb477eb4 (diff) | |
parent | ee98b9ea304744766e22ccc10899dadf71a361b8 (diff) |
Merge branch 'macosx'
Diffstat (limited to 'src/out_format.c')
-rw-r--r-- | src/out_format.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/out_format.c b/src/out_format.c index bfe29a5..19c588f 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, "%lu", a->a_rx_rate.r_total); + snprintf(buf, len, "%llu", a->a_rx_rate.r_total); return buf; } else if (!strncasecmp(type, "tx:", 3)) { - snprintf(buf, len, "%lu", a->a_tx_rate.r_total); + snprintf(buf, len, "%llu", a->a_tx_rate.r_total); return buf; } else if (!strncasecmp(type, "rxrate:", 7)) { snprintf(buf, len, "%.2f", a->a_rx_rate.r_rate); |