2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 22:05:23 +00:00

Fix up args to printf-like functions (thanks to Pedro Ribiero).

This commit is contained in:
Ted Lemon
1999-10-12 16:00:34 +00:00
parent a414e627d8
commit ab58ff49e0
8 changed files with 44 additions and 29 deletions

View File

@@ -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;