diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2014-02-09 20:08:26 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2014-02-09 20:08:26 +0000 |
commit | f1a4347f843d8fce2bcd3ef6e0753f7ae765bbd1 (patch) | |
tree | 752ec12b70ab5450c66489049bef982cc3f384c8 /sbin/dhclient | |
parent | 5ea6b9920824839abd4c461317095ac400c8c8b4 (diff) |
Use correct function name in error message. 'cleanup' was renamed
'sendhup' a while ago.
Diffstat (limited to 'sbin/dhclient')
-rw-r--r-- | sbin/dhclient/kroute.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/dhclient/kroute.c b/sbin/dhclient/kroute.c index 1d89c71cf54..76e4d4b23c3 100644 --- a/sbin/dhclient/kroute.c +++ b/sbin/dhclient/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.60 2014/01/20 02:54:07 deraadt Exp $ */ +/* $OpenBSD: kroute.c,v 1.61 2014/02/09 20:08:25 krw Exp $ */ /* * Copyright 2012 Kenneth R Westerback <krw@openbsd.org> @@ -471,12 +471,12 @@ sendhup(struct client_lease *active) rslt = imsg_compose(unpriv_ibuf, IMSG_HUP, 0, 0, -1, &imsg, sizeof(imsg)); if (rslt == -1) - warning("cleanup: imsg_compose: %s", strerror(errno)); + warning("sendhup: imsg_compose: %s", strerror(errno)); /* Do flush so cleanup message gets through immediately. */ rslt = imsg_flush(unpriv_ibuf); if (rslt == -1 && errno != EPIPE) - warning("cleanup: imsg_flush: %s", strerror(errno)); + warning("sendhup: imsg_flush: %s", strerror(errno)); } /* |