Fix bug #114: FreeBSD compile error.

This commit is contained in:
Jan Vidar Krey 2010-02-11 07:54:42 +01:00
parent 977b57a385
commit 82eeaa1fba
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ struct net_backend* net_backend_init_kqueue(struct net_backend_handler* handler,
return 0;
backend = hub_malloc_zero(sizeof(struct net_backend_kqueue));
backend->kqfd = kqueue(common->max);
backend->kqfd = kqueue();
if (backend->kqfd == -1)
{
LOG_WARN("Unable to create kqueue socket.");