diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-02-09 11:31:59 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-02-09 19:32:54 +0000 |
commit | 895b0130de1fed8b1e534dd2c7017e2f5070e55c (patch) | |
tree | ed2cf73cf8b9a3fad32d0fb2faea2f34039e3f20 /ui | |
parent | e88a11f5c92938f0ed451703a3e1de34f76a5e50 (diff) | |
download | wireshark-895b0130de1fed8b1e534dd2c7017e2f5070e55c.tar.gz |
Use G_GINT64_MODIFIER when formatting g{u}int64 values.
Remove extra trailing blank from output while we're at it.
Change-Id: Ie415afa76a3eaba630ee3d59b177b44de75413a4
Reviewed-on: https://code.wireshark.org/review/7046
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/cli/tap-scsistat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/cli/tap-scsistat.c b/ui/cli/tap-scsistat.c index 6bfe84f947..e13596bf80 100644 --- a/ui/cli/tap-scsistat.c +++ b/ui/cli/tap-scsistat.c @@ -154,7 +154,7 @@ scsistat_draw(void *prs) td = ((guint64)(rs->procedures[i].tot.secs)) * NANOSECS_PER_SEC + rs->procedures[i].tot.nsecs; td = ((td / rs->procedures[i].num) + 500) / 1000; - printf("%-19s %6d %3d.%06d %3d.%06d %3u.%06u \n", + printf("%-19s %6d %3d.%06d %3d.%06d %3" G_GINT64_MODIFIER "u.%06" G_GINT64_MODIFIER "u\n", rs->procedures[i].proc, rs->procedures[i].num, (int)(rs->procedures[i].min.secs), |