/[svn]/ircd-hybrid/branches/8.2.x/src/s_bsd_devpoll.c
ViewVC logotype

Diff of /ircd-hybrid/branches/8.2.x/src/s_bsd_devpoll.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 7566 by michael, Thu Feb 18 21:07:50 2016 UTC revision 7567 by michael, Tue May 24 16:23:51 2016 UTC
# Line 45  Line 45 
45  static fde_t dpfd;  static fde_t dpfd;
46    
47  /*  /*
48   * init_netio   * netio_init
49   *   *
50   * This is a needed exported function which will be called to initialise   * This is a needed exported function which will be called to initialise
51   * the network loop code.   * the network loop code.
52   */   */
53  void  void
54  init_netio(void)  netio_init(void)
55  {  {
56    int fd;    int fd;
57    
58    if ((fd = open("/dev/poll", O_RDWR)) < 0)    if ((fd = open("/dev/poll", O_RDWR)) < 0)
59    {    {
60      ilog(LOG_TYPE_IRCD, "init_netio: couldn't open /dev/poll: %s",      ilog(LOG_TYPE_IRCD, "netio_init: couldn't open /dev/poll: %s",
61           strerror(errno));           strerror(errno));
62      exit(EXIT_FAILURE); /* Whee! */      exit(EXIT_FAILURE); /* Whee! */
63    }    }

Legend:
Removed from v.7566  
changed lines
  Added in v.7567

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28