summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2009-06-25 17:14:58 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2009-06-25 17:14:58 +0000
commit9b23d626e531849a5e95945ca6548d5dee0081a6 (patch)
tree9a9463ec1538553ede8ff6756c36dbaeed4a7d0c /usr.sbin
parentc9f94f17be3d214c96c352c13f54d16a90c36c48 (diff)
fix the function name in log_warn() text, it was borrowed from some
previous test code of mine.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ifstated/ifstated.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ifstated/ifstated.c b/usr.sbin/ifstated/ifstated.c
index d01d451816a..40c61c54c91 100644
--- a/usr.sbin/ifstated/ifstated.c
+++ b/usr.sbin/ifstated/ifstated.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ifstated.c,v 1.34 2009/06/25 09:33:03 sthen Exp $ */
+/* $OpenBSD: ifstated.c,v 1.35 2009/06/25 17:14:57 sthen Exp $ */
/*
* Copyright (c) 2004 Marco Pfatschbacher <mpf@openbsd.org>
@@ -172,7 +172,7 @@ startup_handler(int fd, short event, void *arg)
rtfilter = ROUTE_FILTER(RTM_IFINFO);
if (setsockopt(rt_fd, PF_ROUTE, ROUTE_MSGFILTER,
&rtfilter, sizeof(rtfilter)) == -1) /* not fatal */
- log_warn("kr_init: setsockopt ROUTE_MSGFILTER");
+ log_warn("startup_handler: setsockopt");
event_set(&rt_msg_ev, rt_fd, EV_READ|EV_PERSIST, rt_msg_handler, NULL);
event_add(&rt_msg_ev, NULL);