summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorratchov <ratchov@openbsd.org>2012-10-27 12:06:40 +0000
committerratchov <ratchov@openbsd.org>2012-10-27 12:06:40 +0000
commit334268a5702bf87b2b7c8f3436aa5ea7e0216902 (patch)
tree313d343db0efeec9d398569c7165b796b5d703e0
parentcheck that polled fd number is smaller than SIO_MAXNFDS (diff)
downloadwireguard-openbsd-334268a5702bf87b2b7c8f3436aa5ea7e0216902.tar.xz
wireguard-openbsd-334268a5702bf87b2b7c8f3436aa5ea7e0216902.zip
crank SIO_MAXNFDS
-rw-r--r--lib/libsndio/sio_priv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libsndio/sio_priv.h b/lib/libsndio/sio_priv.h
index 385a3a17b27..b8f8825526f 100644
--- a/lib/libsndio/sio_priv.h
+++ b/lib/libsndio/sio_priv.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sio_priv.h,v 1.3 2011/05/09 17:34:14 ratchov Exp $ */
+/* $OpenBSD: sio_priv.h,v 1.4 2012/10/27 12:06:40 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -20,7 +20,7 @@
#include <sys/param.h>
#include "sndio.h"
-#define SIO_MAXNFDS 4
+#define SIO_MAXNFDS 16
/*
* private ``handle'' structure