diff options
author | 2009-06-25 17:14:57 +0000 | |
---|---|---|
committer | 2009-06-25 17:14:57 +0000 | |
commit | 95cf783ce23d0d78591794f9b5e81ceb04d5ad6e (patch) | |
tree | f81c9902addcd7f84b32680bfa408949ed391cfd | |
parent | Another kroute.c needing RTM_VERSION checks. Looked over by sthen@ and henning@ (diff) | |
download | wireguard-openbsd-95cf783ce23d0d78591794f9b5e81ceb04d5ad6e.tar.xz wireguard-openbsd-95cf783ce23d0d78591794f9b5e81ceb04d5ad6e.zip |
fix the function name in log_warn() text, it was borrowed from some
previous test code of mine.
-rw-r--r-- | usr.sbin/ifstated/ifstated.c | 4 |
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); |