diff options
author | 2002-06-17 07:16:22 +0000 | |
---|---|---|
committer | 2002-06-17 07:16:22 +0000 | |
commit | fb4ce70e057af987cf42bd5fef8c23651e111ea0 (patch) | |
tree | c687ea57c46674b70562e37869cd34d5cadeee29 | |
parent | make this readable. If I broke something, someone else gets to fix it now that we can read it (diff) | |
download | wireguard-openbsd-fb4ce70e057af987cf42bd5fef8c23651e111ea0.tar.xz wireguard-openbsd-fb4ce70e057af987cf42bd5fef8c23651e111ea0.zip |
format string fix. From: Gregory Steuck <greg@nest.cx>
-rw-r--r-- | usr.sbin/dhcp/common/bpf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/dhcp/common/bpf.c b/usr.sbin/dhcp/common/bpf.c index bf0321ccad4..62549f5d820 100644 --- a/usr.sbin/dhcp/common/bpf.c +++ b/usr.sbin/dhcp/common/bpf.c @@ -198,7 +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."); + error ("Can't allocate %d bytes for bpf input buffer.", + info -> rbuf); info -> rbuf_offset = 0; info -> rbuf_len = 0; |