summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 d4f13d7642..4fd557d6a7 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