diff options
author | Michael Mann <mmann78@netscape.net> | 2013-05-20 18:50:50 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-05-20 18:50:50 +0000 |
commit | 312daa4f6c2718c7103988c18506b1f08d9ee264 (patch) | |
tree | 647b813671db393e5eb9aa6ce76bfe10e76579b2 /ui/cli/tap-iostat.c | |
parent | 9327da8ffa0001ce618c2b47dd860fa7c0fa786c (diff) | |
download | wireshark-312daa4f6c2718c7103988c18506b1f08d9ee264.tar.gz |
The printf format may require 2 arguments passed and if it does, the second argument could be garbage, so make sure printf has 2 arguments. Fixes bug 8066 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8066)
svn path=/trunk/; revision=49451
Diffstat (limited to 'ui/cli/tap-iostat.c')
-rw-r--r-- | ui/cli/tap-iostat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/cli/tap-iostat.c b/ui/cli/tap-iostat.c index 8e18a11c0b..019ae26ea7 100644 --- a/ui/cli/tap-iostat.c +++ b/ui/cli/tap-iostat.c @@ -1080,7 +1080,7 @@ iostat_draw(void *arg) item_in_column[j] = item_in_column[j]->next; } } else { - printf(fmt, (guint64)0); + printf(fmt, (guint64)0, (guint64)0); } } if (filler_s) |