summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2002-06-15 01:36:36 +0000
committerbrian <brian@FreeBSD.org>2002-06-15 01:36:36 +0000
commitfbed14fd8822b1a3fe1724c05f3c1169e536c2c6 (patch)
treee4eb3c9b36ca6b5de997de0922df49c725bfb2b9 /usr.sbin/ppp
parent017c07705610046310da77d945507d97af6e3a3b (diff)
downloadFreeBSD-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.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