summaryrefslogtreecommitdiff
path: root/common/bpf.c
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1999-10-12 16:00:34 +0000
committerTed Lemon <source@isc.org>1999-10-12 16:00:34 +0000
commitab58ff49e0838287e22ad6b68b226a3ced25d7c6 (patch)
treebf0f33398c77e0a15a10dc122624aa763b0a747d /common/bpf.c
parenta414e627d890c85aab29446240ce1f423abffc59 (diff)
downloadisc-dhcp-ab58ff49e0838287e22ad6b68b226a3ced25d7c6.tar.gz
Fix up args to printf-like functions (thanks to Pedro Ribiero).
Diffstat (limited to 'common/bpf.c')
-rw-r--r--common/bpf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/bpf.c b/common/bpf.c
index f6291d7b..39ea4476 100644
--- a/common/bpf.c
+++ b/common/bpf.c
@@ -22,7 +22,7 @@
#ifndef lint
static char copyright[] =
-"$Id: bpf.c,v 1.30 1999/10/07 06:47:49 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
+"$Id: bpf.c,v 1.31 1999/10/12 16:00:26 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -227,7 +227,8 @@ void if_register_receive (info)
log_fatal ("Can't get bpf buffer length: %m");
info -> rbuf = malloc (info -> rbuf_max);
if (!info -> rbuf)
- log_fatal ("Can't allocate %d bytes for bpf input buffer.");
+ log_fatal ("Can't allocate %d bytes for bpf input buffer.",
+ info -> rbuf_max);
info -> rbuf_offset = 0;
info -> rbuf_len = 0;