From: Paul Mackerras Date: Sat, 5 Mar 2011 04:10:57 +0000 (+1100) Subject: pppdump: Fix printfs with insufficient arguments X-Git-Tag: ppp-2.4.7~46 X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=7b8db569642c83ba3283745034f2e2c95e459423;p=ppp.git pppdump: Fix printfs with insufficient arguments Reported-by: Dan Wallis Signed-off-by: Paul Mackerras --- diff --git a/pppdump/pppdump.c b/pppdump/pppdump.c index 95e692c..87c2e8f 100644 --- a/pppdump/pppdump.c +++ b/pppdump/pppdump.c @@ -191,7 +191,7 @@ dumplog(f) show_time(f, c); break; default: - printf("?%.2x\n"); + printf("?%.2x\n", c); } } } @@ -421,7 +421,7 @@ dumpppp(f) show_time(f, c); break; default: - printf("?%.2x\n"); + printf("?%.2x\n", c); } } }