aboutsummaryrefslogtreecommitdiffstats
path: root/tap-iostat.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2010-03-26 22:36:22 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2010-03-26 22:36:22 +0000
commit32e955621b5e64d88e6be9442f0dae456bfd07b3 (patch)
treecee7a54a55b8231b4de53c5cf78b4ca4757632b7 /tap-iostat.c
parent8e3d76bf7fe72e1391a081bea36bac7dd8770c39 (diff)
Print 32-bit counters with the right format.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32300 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tap-iostat.c')
-rw-r--r--tap-iostat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tap-iostat.c b/tap-iostat.c
index 33a75f566a..d517a7f9bb 100644
--- a/tap-iostat.c
+++ b/tap-iostat.c
@@ -331,11 +331,11 @@ iostat_draw(void *arg)
if(iot->interval!=G_MAXINT32)
printf("Interval: %d.%03d secs\n", iot->interval/1000, iot->interval%1000);
for(i=0;i<iot->num_items;i++){
- printf("Column #%" G_GINT64_MODIFIER "u: %s\n",i,iot->filters[i]?iot->filters[i]:"");
+ printf("Column #%u: %s\n",i,iot->filters[i]?iot->filters[i]:"");
}
printf(" ");
for(i=0;i<iot->num_items;i++){
- printf("| Column #%-2" G_GINT64_MODIFIER "u ",i);
+ printf("| Column #%-2u ",i);
}
printf("\n");
printf("Time ");