Fix a format string pointer diff specifier.
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
This commit is contained in:
parent
d484cd0e36
commit
5694e076d6
1 changed files with 1 additions and 1 deletions
2
ppp.c
2
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)
|
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;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue