summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcp
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-17 22:40:13 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-17 22:40:13 +0000
commitd665c5ffe8a41e59934d68ce804a2ef6bfc1c601 (patch)
treef7e8b9fa3c16db3a3f072943358c7385b86d80ac /usr.sbin/dhcp
parent062d0dd9117b0f2fbd4ac63d05bcac1599635ad8 (diff)
typo. From: "R. Lewczuk" <rafal.lewczuk@pronet.pl>
Diffstat (limited to 'usr.sbin/dhcp')
-rw-r--r--usr.sbin/dhcp/common/bpf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/dhcp/common/bpf.c b/usr.sbin/dhcp/common/bpf.c
index 62549f5d820..27161eff774 100644
--- a/usr.sbin/dhcp/common/bpf.c
+++ b/usr.sbin/dhcp/common/bpf.c
@@ -199,7 +199,7 @@ void if_register_receive (info)
info -> rbuf = malloc (info -> rbuf_max);
if (!info -> rbuf)
error ("Can't allocate %d bytes for bpf input buffer.",
- info -> rbuf);
+ info -> rbuf_max);
info -> rbuf_offset = 0;
info -> rbuf_len = 0;