summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2005-03-06 18:36:53 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2005-03-06 18:36:53 +0000
commit62ec1c4762096038ae10b3296a05f6dc8ffeed67 (patch)
tree02856f2a4430340da8ad5513ff0be6b0abb98e39
parentca590bb37e9f6789eb7359168f75030afa46af0b (diff)
fix error message, Benedikt Steinbusch <bsteinb@hamazone.de>
-rw-r--r--usr.sbin/ntpd/imsg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/imsg.c b/usr.sbin/ntpd/imsg.c
index 373c1ce3bd0..3b286d48662 100644
--- a/usr.sbin/ntpd/imsg.c
+++ b/usr.sbin/ntpd/imsg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imsg.c,v 1.7 2004/09/16 01:13:42 henning Exp $ */
+/* $OpenBSD: imsg.c,v 1.8 2005/03/06 18:36:52 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -156,7 +156,7 @@ imsg_close(struct imsgbuf *ibuf, struct buf *msg)
int n;
if ((n = buf_close(&ibuf->w, msg)) < 0) {
- log_warnx("imsg_close: buf_add error");
+ log_warnx("imsg_close: buf_close error");
buf_free(msg);
return (-1);
}