summaryrefslogtreecommitdiff
path: root/sbin/dhclient
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-08-23 08:50:57 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-08-23 08:50:57 +0000
commitffea609d2f005fede88b520e016421c507f59630 (patch)
tree0cab1cedb480113c569d49f770c19c0fbbf52304 /sbin/dhclient
parent37c82804356323b8cd1087c7be17da165b0210d6 (diff)
typo in error message
Diffstat (limited to 'sbin/dhclient')
-rw-r--r--sbin/dhclient/dhclient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c
index 00c9a6628be..4d4718d74d7 100644
--- a/sbin/dhclient/dhclient.c
+++ b/sbin/dhclient/dhclient.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhclient.c,v 1.494 2017/08/14 22:12:59 krw Exp $ */
+/* $OpenBSD: dhclient.c,v 1.495 2017/08/23 08:50:56 jca Exp $ */
/*
* Copyright 2004 Henning Brauer <henning@openbsd.org>
@@ -2546,7 +2546,7 @@ take_charge(struct interface_info *ifi, int routefd)
fatal("routefd poll");
}
if ((fds[0].revents & (POLLERR | POLLHUP | POLLNVAL)) != 0)
- fatalx("routed poll error");
+ fatalx("routefd poll error");
if (nfds == 0 || (fds[0].revents & POLLIN) == 0)
continue;
routehandler(ifi, routefd);