diff options
author | camield <camield@openbsd.org> | 2011-11-12 19:36:17 +0000 |
---|---|---|
committer | camield <camield@openbsd.org> | 2011-11-12 19:36:17 +0000 |
commit | 4f416e82d85f5f31521b48b4c95ddad56b99d705 (patch) | |
tree | 8bedb14eafeb53da47b136a6811fdbceefde712a /usr.sbin/relayd/pfe.c | |
parent | Unbreak tree after kettenis's sanitization in pcidevs (diff) | |
download | wireguard-openbsd-4f416e82d85f5f31521b48b4c95ddad56b99d705.tar.xz wireguard-openbsd-4f416e82d85f5f31521b48b4c95ddad56b99d705.zip |
fix function names in fatalx() messages
ok mikeb
Diffstat (limited to 'usr.sbin/relayd/pfe.c')
-rw-r--r-- | usr.sbin/relayd/pfe.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/relayd/pfe.c b/usr.sbin/relayd/pfe.c index a56d135d7c4..3830d332b1a 100644 --- a/usr.sbin/relayd/pfe.c +++ b/usr.sbin/relayd/pfe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfe.c,v 1.70 2011/05/20 09:43:53 reyk Exp $ */ +/* $OpenBSD: pfe.c,v 1.71 2011/11/12 19:36:17 camield Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -111,7 +111,7 @@ pfe_dispatch_hce(int fd, struct privsep_proc *p, struct imsg *imsg) IMSG_SIZE_CHECK(imsg, &st); memcpy(&st, imsg->data, sizeof(st)); if ((host = host_find(env, st.id)) == NULL) - fatalx("pfe_dispatch_imsg: invalid host id"); + fatalx("pfe_dispatch_hce: invalid host id"); host->he = st.he; if (host->flags & F_DISABLE) break; @@ -124,7 +124,7 @@ pfe_dispatch_hce(int fd, struct privsep_proc *p, struct imsg *imsg) if (host->check_cnt != st.check_cnt) { log_debug("%s: host %d => %d", __func__, host->conf.id, host->up); - fatalx("pfe_dispatch_imsg: desynchronized"); + fatalx("pfe_dispatch_hce: desynchronized"); } if (host->up == st.up) @@ -136,7 +136,7 @@ pfe_dispatch_hce(int fd, struct privsep_proc *p, struct imsg *imsg) if ((table = table_find(env, host->conf.tableid)) == NULL) - fatalx("pfe_dispatch_imsg: invalid table id"); + fatalx("pfe_dispatch_hce: invalid table id"); log_debug("%s: state %d for host %u %s", __func__, st.up, host->conf.id, host->conf.name); |