diff options
author | brian <brian@FreeBSD.org> | 2002-06-15 08:03:59 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2002-06-15 08:03:59 +0000 |
commit | 6ff6823d37ca694f76a33a7a9c54596c9a0960d7 (patch) | |
tree | 674737ccceb820eb799aff028446b324bd1f66f7 /usr.sbin/ppp | |
parent | 72243fc694aea0f3db76715775105efb1fa5e79b (diff) | |
download | FreeBSD-src-6ff6823d37ca694f76a33a7a9c54596c9a0960d7.zip FreeBSD-src-6ff6823d37ca694f76a33a7a9c54596c9a0960d7.tar.gz |
A better prinflike fix...
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r-- | usr.sbin/ppp/fsm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/fsm.c b/usr.sbin/ppp/fsm.c index 4a6191f..eea7b7d 100644 --- a/usr.sbin/ppp/fsm.c +++ b/usr.sbin/ppp/fsm.c @@ -1144,8 +1144,8 @@ 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 %ld\n", - o->hdr.len, sizeof(struct fsm_opt)); + log_Printf(LogERROR, "Warning: Truncating option length from %d to %d\n", + o->hdr.len, (int)sizeof(struct fsm_opt)); o->hdr.len = sizeof(struct fsm_opt); } |