summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/physical.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ppp/physical.c')
-rw-r--r--usr.sbin/ppp/physical.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/physical.c b/usr.sbin/ppp/physical.c
index c1f5daa..ffe7b2f 100644
--- a/usr.sbin/ppp/physical.c
+++ b/usr.sbin/ppp/physical.c
@@ -428,7 +428,7 @@ physical_DescriptorWrite(struct fdescriptor *d, struct bundle *bundle __unused,
if (errno == EAGAIN)
result = 1;
else if (errno != ENOBUFS) {
- log_Printf(LogPHASE, "%s: write (fd %d, len %d): %s\n", p->link.name,
+ log_Printf(LogPHASE, "%s: write (fd %d, len %zd): %s\n", p->link.name,
p->fd, p->out->m_len, strerror(errno));
datalink_Down(p->dl, CLOSE_NORMAL);
}
OpenPOWER on IntegriCloud