summaryrefslogtreecommitdiffhomepage
path: root/libs/nixio
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-08-27 14:54:37 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-08-27 14:54:37 +0000
commit1916ab494aa72e05e9c04363a2a67c17d2b93eb0 (patch)
treeb3a8ed57203eba21cadc3e0b6136bff69e568979 /libs/nixio
parent54567e57ea9e98e2384a82088e63062134b9b920 (diff)
libs/nixio: add missing parameter to alarm reset
Diffstat (limited to 'libs/nixio')
-rw-r--r--libs/nixio/src/address.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/nixio/src/address.c b/libs/nixio/src/address.c
index d4f13d764..4fd557d6a 100644
--- a/libs/nixio/src/address.c
+++ b/libs/nixio/src/address.c
@@ -337,7 +337,7 @@ static int nixio_getnameinfo(lua_State *L) {
#ifdef __linux__
if (timeout > 0 && timeout < 1000)
{
- ualarm(0);
+ ualarm(0, 0);
sigaction(SIGALRM, &sa_old, NULL);
}
#endif