summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/relayd')
-rw-r--r--usr.sbin/relayd/relayd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/relayd/relayd.c b/usr.sbin/relayd/relayd.c
index ae31748ae37..2cd50aad40c 100644
--- a/usr.sbin/relayd/relayd.c
+++ b/usr.sbin/relayd/relayd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relayd.c,v 1.13 2007/01/29 14:23:31 pyr Exp $ */
+/* $OpenBSD: relayd.c,v 1.14 2007/02/06 10:03:08 reyk Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -276,7 +276,7 @@ main_dispatch_pfe(int fd, short event, void *ptr)
if ((n = imsg_read(ibuf)) == -1)
fatal("imsg_read_error");
if (n == 0)
- fatalx("parent: pipe closed");
+ fatalx("main_dispatch_pfe: pipe closed");
break;
case EV_WRITE:
if (msgbuf_write(&ibuf->w) == -1)
@@ -316,8 +316,8 @@ main_dispatch_hce(int fd, short event, void * ptr)
case EV_READ:
if ((n = imsg_read(ibuf)) == -1)
fatal("imsg_read error");
- if (n == 0) /* connection closed */
- fatalx("parent: pipe closed");
+ if (n == 0)
+ fatalx("main_dispatch_hce: pipe closed");
break;
case EV_WRITE:
if (msgbuf_write(&ibuf->w) == -1)