diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2013-01-29 15:04:43 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2013-01-29 15:04:43 +0000 |
commit | d496ab68aaf16b13d9dff00f2495a5a9e526cb41 (patch) | |
tree | e081bfa8a4be543e412f32101fe2b790c0cc841b /usr.sbin/relayd/check_icmp.c | |
parent | 245b75b1f900ebf7359c08c585e29ed78bb0e585 (diff) |
use correct function name in fatal error message
Diffstat (limited to 'usr.sbin/relayd/check_icmp.c')
-rw-r--r-- | usr.sbin/relayd/check_icmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/relayd/check_icmp.c b/usr.sbin/relayd/check_icmp.c index 5c987e4bf35..992a426a1a2 100644 --- a/usr.sbin/relayd/check_icmp.c +++ b/usr.sbin/relayd/check_icmp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: check_icmp.c,v 1.34 2013/01/17 20:34:18 bluhm Exp $ */ +/* $OpenBSD: check_icmp.c,v 1.35 2013/01/29 15:04:42 sthen Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -58,7 +58,7 @@ icmp_setup(struct relayd *env, struct ctl_icmp_event *cie, int af) if (af == AF_INET6) proto = IPPROTO_ICMPV6; if ((cie->s = socket(af, SOCK_RAW, proto)) < 0) - fatal("icmp_init: socket"); + fatal("icmp_setup: socket"); socket_set_blockmode(cie->s, BM_NONBLOCK); cie->env = env; cie->af = af; |