From 1916ab494aa72e05e9c04363a2a67c17d2b93eb0 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 27 Aug 2012 14:54:37 +0000 Subject: [PATCH] libs/nixio: add missing parameter to alarm reset --- libs/nixio/src/address.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1