projects
/
l2tpns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d484cd0
)
Fix a format string pointer diff specifier.
remove-warnings
author
Benjamin Cama
<benoar@dolka.fr>
Sun, 25 Sep 2011 19:14:32 +0000
(21:14 +0200)
committer
Benjamin Cama
<benoar@dolka.fr>
Sun, 25 Sep 2011 19:14:32 +0000
(21:14 +0200)
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
ppp.c
patch
|
blob
|
history
diff --git
a/ppp.c
b/ppp.c
index
1c97b0c
..
5dccf0d
100644
(file)
--- 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)
{
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=%
t
d)\n", size, (b - start) + l);
return NULL;
}
return NULL;
}