From 826ed36b7ed1a88448de3e3bedf199cf19e36e5f Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 10 Feb 2009 19:26:37 +1300 Subject: [PATCH] select_tut.2: minor: fix small bug in example code Signed-off-by: Michael Kerrisk --- man2/select_tut.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man2/select_tut.2 b/man2/select_tut.2 index 14fb21063..aa17a2158 100644 --- a/man2/select_tut.2 +++ b/man2/select_tut.2 @@ -285,7 +285,7 @@ main(int argc, char *argv[]) exit(EXIT_FAILURE); } - sigemptyset(empty_mask); + sigemptyset(&empty_mask); for (;;) { /* main loop */ /* Initialize readfds, writefds, and exceptfds