diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2006-12-22 18:33:18 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2006-12-22 18:33:18 +0000 |
commit | 6c36d705db7023bb1b2595beceb714b15b5de065 (patch) | |
tree | f3979bc456b5391734ea3a1dfae5aeed13ed17c7 /ebtables.c | |
parent | e1c315ae85bf7fab8673dc7b553e07771c225ef3 (diff) |
make printing of uint64_t architecture independent
Diffstat (limited to 'ebtables.c')
-rw-r--r-- | ebtables.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -25,6 +25,7 @@ #include <string.h> #include <stdio.h> #include <stdlib.h> +#include <inttypes.h> #include "include/ebtables_u.h" #include "include/ethernetdb.h" @@ -323,7 +324,7 @@ static void list_em(struct ebt_u_entries *entries) if (replace->flags & LIST_X) printf("-c %llu %llu", pcnt, bcnt); else - printf(", pcnt = %llu -- bcnt = %llu", pcnt, bcnt); + printf(", pcnt = %"PRIu64" -- bcnt = %"PRIu64, pcnt, bcnt); } printf("\n"); hlp = hlp->next; |