summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2014-11-16 12:12:01 +0000
committerkrw <krw@openbsd.org>2014-11-16 12:12:01 +0000
commit1d818b7b526897d0beb8eb3922ac477a2776d57c (patch)
tree2bc9adc9e5bffcc3f56297318163631b36249771
parentmix the rdomain (rtable?) into the hash for tcp iss generation. (diff)
downloadwireguard-openbsd-1d818b7b526897d0beb8eb3922ac477a2776d57c.tar.xz
wireguard-openbsd-1d818b7b526897d0beb8eb3922ac477a2776d57c.zip
Read your compiler output even when it succeeds. Add missing variable to
error print statement.
-rw-r--r--sbin/dhclient/dispatch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/dispatch.c b/sbin/dhclient/dispatch.c
index 8f8f96e08cb..15b59026462 100644
--- a/sbin/dhclient/dispatch.c
+++ b/sbin/dhclient/dispatch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dispatch.c,v 1.91 2014/11/13 00:33:35 krw Exp $ */
+/* $OpenBSD: dispatch.c,v 1.92 2014/11/16 12:12:01 krw Exp $ */
/*
* Copyright 2004 Henning Brauer <henning@openbsd.org>
@@ -148,7 +148,7 @@ dispatch(void)
continue;
}
if (ifi->rfdesc == -1) {
- warning("%s bpf socket gone; exiting");
+ warning("%s bpf socket gone; exiting", ifi->name);
quit = INTERNALSIG;
continue;
}