diff options
author | Brian Somers <brian@FreeBSD.org> | 2000-03-14 01:47:19 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2000-03-14 01:47:19 +0000 |
commit | 209dc102399af6d05720923772be74d68c897520 (patch) | |
tree | c492d0a050b16da901242af2e75bde6ea03d43f9 /usr.sbin/ppp/nat_cmd.c | |
parent | ceecaea3dedea4c7ae3e609bd0585a4f8451d73f (diff) | |
download | src-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.c | 4 |
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; } |