summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/relay_http.c
diff options
context:
space:
mode:
authorSebastian Benoit <benno@cvs.openbsd.org>2017-05-28 10:39:16 +0000
committerSebastian Benoit <benno@cvs.openbsd.org>2017-05-28 10:39:16 +0000
commit2a10c5ed12cd0d624dd61835b891ebd7e614c388 (patch)
tree49ba9948a453a4304d5f7ce6cd3a6f0f19417d02 /usr.sbin/relayd/relay_http.c
parent120ac24ece602fd611a09767fb2fd6cfdae37556 (diff)
use __func__ in log messages. fix some whitespace while here.
From Hiltjo Posthuma hiltjo -AT codemadness -DOT- org, thanks! ok florian, claudio
Diffstat (limited to 'usr.sbin/relayd/relay_http.c')
-rw-r--r--usr.sbin/relayd/relay_http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/relayd/relay_http.c b/usr.sbin/relayd/relay_http.c
index 7141fcf4bcc..90ad49d63c7 100644
--- a/usr.sbin/relayd/relay_http.c
+++ b/usr.sbin/relayd/relay_http.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relay_http.c,v 1.65 2017/05/27 08:33:25 claudio Exp $ */
+/* $OpenBSD: relay_http.c,v 1.66 2017/05/28 10:39:15 benno Exp $ */
/*
* Copyright (c) 2006 - 2016 Reyk Floeter <reyk@openbsd.org>
@@ -1592,7 +1592,7 @@ relay_apply_actions(struct ctl_relay_event *cre, struct kvlist *actions)
/* perform this later */
break;
default:
- fatalx("relay_action: invalid action");
+ fatalx("%s: invalid action", __func__);
/* NOTREACHED */
}