summaryrefslogtreecommitdiff
path: root/sbin/dhclient
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2017-09-20 15:31:30 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2017-09-20 15:31:30 +0000
commit500d5498c8497e5716d0993fa988c897a1429bb7 (patch)
treecac0ee83989d7b071ff74489f8bba06667620281 /sbin/dhclient
parentec5e4ab8ab68ce10d7334a024cbb9af53eb0e815 (diff)
Remove stray %s/ifi->name from fatalx().
Diffstat (limited to 'sbin/dhclient')
-rw-r--r--sbin/dhclient/dispatch.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/dhclient/dispatch.c b/sbin/dhclient/dispatch.c
index d33cec940a3..fd3ef69c1e4 100644
--- a/sbin/dhclient/dispatch.c
+++ b/sbin/dhclient/dispatch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dispatch.c,v 1.143 2017/09/19 12:33:52 krw Exp $ */
+/* $OpenBSD: dispatch.c,v 1.144 2017/09/20 15:31:29 krw Exp $ */
/*
* Copyright 2004 Henning Brauer <henning@openbsd.org>
@@ -189,8 +189,7 @@ packethandler(struct interface_info *ifi)
if ((result = receive_packet(ifi, &from, &hfrom)) == -1) {
ifi->errors++;
if (ifi->errors > 20)
- fatalx("%s too many receive_packet failures",
- ifi->name);
+ fatalx("too many receive_packet failures");
else
log_warn("%s receive_packet failed", log_procname);
return;