diff options
-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); } |