summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/ppp/fsm.c2
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);
}
OpenPOWER on IntegriCloud