29 |
|
#include "ircd.h" |
30 |
|
#include "memory.h" |
31 |
|
#include "s_bsd.h" |
32 |
< |
#include "s_log.h" |
32 |
> |
#include "log.h" |
33 |
|
#include <sys/epoll.h> |
34 |
|
#include <sys/syscall.h> |
35 |
|
|
104 |
|
|
105 |
|
if ((fd = epoll_create(hard_fdlimit)) < 0) |
106 |
|
{ |
107 |
< |
ilog(L_CRIT, "init_netio: Couldn't open epoll fd - %d: %s", |
107 |
> |
ilog(LOG_TYPE_IRCD, "init_netio: Couldn't open epoll fd - %d: %s", |
108 |
|
errno, strerror(errno)); |
109 |
|
exit(115); /* Whee! */ |
110 |
|
} |
157 |
|
|
158 |
|
if (epoll_ctl(efd.fd, op, F->fd, &ep_event) != 0) |
159 |
|
{ |
160 |
< |
ilog(L_CRIT, "comm_setselect: epoll_ctl() failed: %s", strerror(errno)); |
160 |
> |
ilog(LOG_TYPE_IRCD, "comm_setselect: epoll_ctl() failed: %s", strerror(errno)); |
161 |
|
abort(); |
162 |
|
} |
163 |
|
} |