diff options
author | Ted Lemon <source@isc.org> | 1999-10-12 16:00:34 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 1999-10-12 16:00:34 +0000 |
commit | ab58ff49e0838287e22ad6b68b226a3ced25d7c6 (patch) | |
tree | bf0f33398c77e0a15a10dc122624aa763b0a747d /common/bpf.c | |
parent | a414e627d890c85aab29446240ce1f423abffc59 (diff) | |
download | isc-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.c | 5 |
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; |