summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-06-18 20:25:17 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-06-18 20:25:17 +0000
commit538d1f8fdee7c931daa302555b584ef8c0b6b72f (patch)
treea4a9eb524a298a06aa83c5fa11eae2face4364c5 /usr.sbin
parente25e9dbe617dbfb9e54080cf5d65ecc259ccc47c (diff)
actually, wrong type for printing of sise_t
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/dhcp/common/bpf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/dhcp/common/bpf.c b/usr.sbin/dhcp/common/bpf.c
index 27161eff774..ae377c41436 100644
--- a/usr.sbin/dhcp/common/bpf.c
+++ b/usr.sbin/dhcp/common/bpf.c
@@ -198,8 +198,8 @@ void if_register_receive (info)
info->rbuf_max = sz;
info -> rbuf = malloc (info -> rbuf_max);
if (!info -> rbuf)
- error ("Can't allocate %d bytes for bpf input buffer.",
- info -> rbuf_max);
+ error ("Can't allocate %lu bytes for bpf input buffer.",
+ (unsigned long) info -> rbuf_max);
info -> rbuf_offset = 0;
info -> rbuf_len = 0;