projects
/
platform
/
upstream
/
ebtables.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1c315a
)
make printing of uint64_t architecture independent
author
Bart De Schuymer
<bdschuym@pandora.be>
Fri, 22 Dec 2006 18:33:18 +0000
(18:33 +0000)
committer
Bart De Schuymer
<bdschuym@pandora.be>
Fri, 22 Dec 2006 18:33:18 +0000
(18:33 +0000)
ebtables.c
patch
|
blob
|
history
diff --git
a/ebtables.c
b/ebtables.c
index
20a3bad
..
1b819cd
100644
(file)
--- a/
ebtables.c
+++ b/
ebtables.c
@@
-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;