summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/os.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/os.c b/test/os.c
index 2d005a0d4..d85dcffbe 100644
--- a/test/os.c
+++ b/test/os.c
@@ -150,10 +150,10 @@ static void block_sigio_test_nested(void)
tail guard must be hit.
*/
void (*old_handler)(int);
- old_handler = signal(SIGIO, sighandler);
+ old_handler = OsSignal(SIGIO, sighandler);
expect_signal = 1;
assert(raise(SIGIO) == 0);
- assert(signal(SIGIO, old_handler) == sighandler);
+ assert(OsSignal(SIGIO, old_handler) == sighandler);
#endif
}