diff options
Diffstat (limited to 'sbin/dhclient')
-rw-r--r-- | sbin/dhclient/dhclient.c | 4 | ||||
-rw-r--r-- | sbin/dhclient/dispatch.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c index 026f53de7cc..d280bac73a9 100644 --- a/sbin/dhclient/dhclient.c +++ b/sbin/dhclient/dhclient.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dhclient.c,v 1.359 2015/02/15 01:56:42 tedu Exp $ */ +/* $OpenBSD: dhclient.c,v 1.360 2015/04/16 15:14:30 gsoares Exp $ */ /* * Copyright 2004 Henning Brauer <henning@openbsd.org> @@ -467,7 +467,7 @@ main(int argc, char *argv[]) get_ifname(argv[0]); ifi->index = if_nametoindex(ifi->name); if (ifi->index == 0) - error("'%s' is not an interface", ifi->name); + error("%s: no such interface", ifi->name); tzset(); diff --git a/sbin/dhclient/dispatch.c b/sbin/dhclient/dispatch.c index 2a4aff340d5..2cb7cc936a6 100644 --- a/sbin/dhclient/dispatch.c +++ b/sbin/dhclient/dispatch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dispatch.c,v 1.100 2015/02/06 04:18:20 krw Exp $ */ +/* $OpenBSD: dispatch.c,v 1.101 2015/04/16 15:14:31 gsoares Exp $ */ /* * Copyright 2004 Henning Brauer <henning@openbsd.org> @@ -88,7 +88,7 @@ get_hw_address(void) } if (!found) - error("%s: not found", ifi->name); + error("%s: no such interface", ifi->name); freeifaddrs(ifap); } |