diff options
author | brian <brian@FreeBSD.org> | 2002-06-15 01:36:36 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2002-06-15 01:36:36 +0000 |
commit | fbed14fd8822b1a3fe1724c05f3c1169e536c2c6 (patch) | |
tree | e4eb3c9b36ca6b5de997de0922df49c725bfb2b9 /usr.sbin/ppp | |
parent | 017c07705610046310da77d945507d97af6e3a3b (diff) | |
download | FreeBSD-src-fbed14fd8822b1a3fe1724c05f3c1169e536c2c6.zip FreeBSD-src-fbed14fd8822b1a3fe1724c05f3c1169e536c2c6.tar.gz |
Fix a printflike format error
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r-- | usr.sbin/ppp/fsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/fsm.c b/usr.sbin/ppp/fsm.c index ea24dd0..4a6191f 100644 --- a/usr.sbin/ppp/fsm.c +++ b/usr.sbin/ppp/fsm.c @@ -1144,7 +1144,7 @@ fsm_readopt(u_char **cp) *cp += o->hdr.len; if (o->hdr.len > sizeof(struct fsm_opt)) { - log_Printf(LogERROR, "Warning: Truncating option length from %d to %d\n", + log_Printf(LogERROR, "Warning: Truncating option length from %d to %ld\n", o->hdr.len, sizeof(struct fsm_opt)); o->hdr.len = sizeof(struct fsm_opt); } |