diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-06-05 23:03:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-06-05 23:03:08 +0000 |
commit | 866cfb4a6a9dc5e8b4268bde45380ccffa85a857 (patch) | |
tree | 437155d5c546fc913d56748c528ff2d4df29aa85 /usr.sbin/ppp | |
parent | 2e4ff57f91035ff3323a10ba4a3fc99df9e8206b (diff) |
correct a format string type
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r-- | usr.sbin/ppp/ppp/physical.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/ppp/physical.c b/usr.sbin/ppp/ppp/physical.c index fdc6d74f913..d77d85ed046 100644 --- a/usr.sbin/ppp/ppp/physical.c +++ b/usr.sbin/ppp/ppp/physical.c @@ -16,7 +16,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $OpenBSD: physical.c,v 1.40 2005/07/17 20:10:53 brad Exp $ + * $OpenBSD: physical.c,v 1.41 2009/06/05 23:03:07 deraadt Exp $ * */ @@ -427,7 +427,7 @@ physical_DescriptorWrite(struct fdescriptor *d, struct bundle *bundle, 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); } |