summaryrefslogtreecommitdiff
path: root/sbin/dhclient
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2016-09-29 00:40:09 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2016-09-29 00:40:09 +0000
commite6d42b849c65b82dbe1a9e1840666a7405eb6ab6 (patch)
tree1e42bdd5e9debe92032967f1141cf228b3846f8d /sbin/dhclient
parenta73e64ac0041bdd2eba9d02a4c891b46f4db85a7 (diff)
'ifname' --> 'ifi->name' so DEBUG compiles again.
Diffstat (limited to 'sbin/dhclient')
-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 61f2e16170e..b05b576e4ab 100644
--- a/sbin/dhclient/dispatch.c
+++ b/sbin/dhclient/dispatch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dispatch.c,v 1.109 2016/09/02 15:44:26 mpi Exp $ */
+/* $OpenBSD: dispatch.c,v 1.110 2016/09/29 00:40:08 krw Exp $ */
/*
* Copyright 2004 Henning Brauer <henning@openbsd.org>
@@ -297,7 +297,7 @@ interface_status(struct interface_info *ifi)
*/
#ifdef DEBUG
if (errno != EINVAL && errno != ENOTTY)
- debug("ioctl(SIOCGIFMEDIA) on %s: %s", ifname,
+ debug("ioctl(SIOCGIFMEDIA) on %s: %s", ifi->name,
strerror(errno));
#endif