From: Timo Sirainen Date: Wed, 21 Oct 2009 00:55:55 +0000 (-0400) Subject: ioloop-epool: Panic on epoll_ctl() failures so it's easier to find the bug. X-Git-Tag: 2.0.alpha2~39 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e34f6064b63bc02598f462df304d2d68910ab04d;p=thirdparty%2Fdovecot%2Fcore.git ioloop-epool: Panic on epoll_ctl() failures so it's easier to find the bug. --HG-- branch : HEAD --- diff --git a/src/lib/ioloop-epoll.c b/src/lib/ioloop-epoll.c index e93295cee9..e5ccd9fca0 100644 --- a/src/lib/ioloop-epoll.c +++ b/src/lib/ioloop-epoll.c @@ -110,7 +110,7 @@ void io_loop_handle_add(struct io_file *io) op = first ? EPOLL_CTL_ADD : EPOLL_CTL_MOD; if (epoll_ctl(ctx->epfd, op, io->fd, &event) < 0) { - i_fatal("io_loop_handle_add: epoll_ctl(%d, %d): %m", + i_panic("io_loop_handle_add: epoll_ctl(%d, %d): %m", op, io->fd); }