Skip to content

Commit

Permalink
pppdump: Eliminate printf format warning by using %zd
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
  • Loading branch information
paulusmack committed Oct 1, 2019
1 parent 7f2f0de commit e400854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pppdump/pppdump.c
Expand Up @@ -320,7 +320,7 @@ dumpppp(f)
++r;
++r;
if (endp - r > mru)
printf(" ERROR: length (%d) > MRU (%d)\n",
printf(" ERROR: length (%zd) > MRU (%d)\n",
endp - r, mru);
if (decompress && fcs == PPP_GOODFCS) {
/* See if this is a CCP or compressed packet */
Expand Down

0 comments on commit e400854

Please sign in to comment.