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/physical.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/physical.c')
-rw-r--r-- | usr.sbin/ppp/physical.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/physical.c b/usr.sbin/ppp/physical.c index f20f2d3..611796e 100644 --- a/usr.sbin/ppp/physical.c +++ b/usr.sbin/ppp/physical.c @@ -385,8 +385,8 @@ physical_DescriptorWrite(struct fdescriptor *d, struct bundle *bundle, if (p->out) { nw = physical_Write(p, MBUF_CTOP(p->out), p->out->m_len); - log_Printf(LogDEBUG, "%s: DescriptorWrite: wrote %d(%d) to %d\n", - p->link.name, nw, p->out->m_len, p->fd); + log_Printf(LogDEBUG, "%s: DescriptorWrite: wrote %d(%lu) to %d\n", + p->link.name, nw, (unsigned long)p->out->m_len, p->fd); if (nw > 0) { p->out->m_len -= nw; p->out->m_offset += nw; |