summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-06-05 23:03:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-06-05 23:03:08 +0000
commit866cfb4a6a9dc5e8b4268bde45380ccffa85a857 (patch)
tree437155d5c546fc913d56748c528ff2d4df29aa85 /usr.sbin/ppp
parent2e4ff57f91035ff3323a10ba4a3fc99df9e8206b (diff)
correct a format string type
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/ppp/physical.c4
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);
}