aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/nat_cmd.c
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2000-03-14 01:47:19 +0000
committerBrian Somers <brian@FreeBSD.org>2000-03-14 01:47:19 +0000
commit209dc102399af6d05720923772be74d68c897520 (patch)
treec492d0a050b16da901242af2e75bde6ea03d43f9 /usr.sbin/ppp/nat_cmd.c
parentceecaea3dedea4c7ae3e609bd0585a4f8451d73f (diff)
downloadsrc-209dc102399af6d05720923772be74d68c897520.tar.gz
src-209dc102399af6d05720923772be74d68c897520.zip
Fix some printf-style argument bugs
Notes
Notes: svn path=/head/; revision=58042
Diffstat (limited to 'usr.sbin/ppp/nat_cmd.c')
-rw-r--r--usr.sbin/ppp/nat_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/nat_cmd.c b/usr.sbin/ppp/nat_cmd.c
index ed7876d5bac7..490ef73c0198 100644
--- a/usr.sbin/ppp/nat_cmd.c
+++ b/usr.sbin/ppp/nat_cmd.c
@@ -383,8 +383,8 @@ nat_LayerPull(struct bundle *bundle, struct link *l, struct mbuf *bp,
bp->m_len = ntohs(pip->ip_len);
if (bp->m_len > MAX_MRU) {
- log_Printf(LogWARN, "nat_LayerPull: Problem with IP header length (%d)\n",
- bp->m_len);
+ log_Printf(LogWARN, "nat_LayerPull: Problem with IP header length (%lu)\n",
+ (unsigned long)bp->m_len);
m_freem(bp);
return NULL;
}