ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/s_bsd_epoll.c
(Generate patch)

Comparing:
ircd-hybrid/src/s_bsd_epoll.c (file contents), Revision 1028 by michael, Sun Nov 8 13:03:38 2009 UTC vs.
ircd-hybrid/trunk/src/s_bsd_epoll.c (file contents), Revision 1592 by michael, Sat Oct 27 21:02:32 2012 UTC

# Line 29 | Line 29
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  
# Line 104 | Line 104 | init_netio(void)
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    }
# Line 157 | Line 157 | comm_setselect(fde_t *F, unsigned int ty
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    }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines