diff options
author | brian <brian@FreeBSD.org> | 2000-03-14 01:47:19 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-03-14 01:47:19 +0000 |
commit | 19ff2ab337c997a28964c88f5124a07dff48a0e4 (patch) | |
tree | 0966e729b0750c437da397c795c45cd9466d7780 /usr.sbin/ppp/slcompress.c | |
parent | 84a11d130e87abbc875a0c5c29e560b04560c73c (diff) | |
download | FreeBSD-src-19ff2ab337c997a28964c88f5124a07dff48a0e4.zip FreeBSD-src-19ff2ab337c997a28964c88f5124a07dff48a0e4.tar.gz |
Fix some printf-style argument bugs
Diffstat (limited to 'usr.sbin/ppp/slcompress.c')
-rw-r--r-- | usr.sbin/ppp/slcompress.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/slcompress.c b/usr.sbin/ppp/slcompress.c index d5fa74c..75b952e 100644 --- a/usr.sbin/ppp/slcompress.c +++ b/usr.sbin/ppp/slcompress.c @@ -154,8 +154,8 @@ sl_compress_tcp(struct mbuf * m, * the caller has already made sure the packet is IP proto TCP). */ if ((ip->ip_off & htons(0x3fff)) || m->m_len < 40) { - log_Printf(LogDEBUG, "??? 1 ip_off = %x, m_len = %d\n", - ip->ip_off, m->m_len); + log_Printf(LogDEBUG, "??? 1 ip_off = %x, m_len = %lu\n", + ip->ip_off, (unsigned long)m->m_len); log_DumpBp(LogDEBUG, "", m); return (TYPE_IP); } |