From: Benjamin Cama Date: Sun, 25 Sep 2011 19:14:32 +0000 (+0200) Subject: Fix a format string pointer diff specifier. X-Git-Tag: debian/2.2.1-1fdn3~1^2~1 X-Git-Url: http://git.sameswireless.fr/l2tpns.git/commitdiff_plain/5694e076d62e1a7eb5c4df55ace3830612631abf?ds=sidebyside;hp=-c Fix a format string pointer diff specifier. Signed-off-by: Benjamin Cama --- 5694e076d62e1a7eb5c4df55ace3830612631abf diff --git a/ppp.c b/ppp.c index 1c97b0c..5dccf0d 100644 --- a/ppp.c +++ b/ppp.c @@ -2375,7 +2375,7 @@ uint8_t *makeppp(uint8_t *b, int size, uint8_t *p, int l, sessionidt s, tunnelid if ((b - start) + l > size) { - LOG(2, s, t, "makeppp would overflow buffer (size=%d, header+payload=%d)\n", size, (b - start) + l); + LOG(2, s, t, "makeppp would overflow buffer (size=%d, header+payload=%td)\n", size, (b - start) + l); return NULL; }