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

Comparing ircd-hybrid-8/src/s_bsd_devpoll.c (file contents):
Revision 1156 by michael, Tue Aug 9 20:29:20 2011 UTC vs.
Revision 1247 by michael, Sat Oct 1 07:54:24 2011 UTC

# Line 56 | Line 56 | init_netio(void)
56  
57    if ((fd = open("/dev/poll", O_RDWR)) < 0)
58    {
59 <    ilog(L_CRIT, "init_netio: Couldn't open /dev/poll - %d: %s",
59 >    ilog(LOG_TYPE_IRCD, "init_netio: Couldn't open /dev/poll - %d: %s",
60           errno, strerror(errno));
61      exit(115); /* Whee! */
62    }
# Line 82 | Line 82 | devpoll_write_update(int fd, int events)
82  
83    /* Write the thing to our poll fd */
84    if (write(dpfd.fd, &pfd, sizeof(pfd)) != sizeof(pfd))
85 <    ilog(L_NOTICE, "devpoll_write_update: dpfd write failed %d: %s",
85 >    ilog(LOG_TYPE_IRCD, "devpoll_write_update: dpfd write failed %d: %s",
86           errno, strerror(errno));
87   }
88  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)