aboutsummaryrefslogtreecommitdiffstats
path: root/man2/select_tut.2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2009-02-10 19:26:37 +1300
committerMichael Kerrisk <mtk.manpages@gmail.com>2009-02-10 19:26:37 +1300
commit826ed36b7ed1a88448de3e3bedf199cf19e36e5f (patch)
treea6c4377d2cf81f586b9a443dd79e95e7576b0535 /man2/select_tut.2
parent75362965ddf864dd0d78752aada7ff317af0686d (diff)
downloadman-pages-826ed36b7ed1a88448de3e3bedf199cf19e36e5f.tar.gz
select_tut.2: minor: fix small bug in example code
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2/select_tut.2')
-rw-r--r--man2/select_tut.22
1 files changed, 1 insertions, 1 deletions
diff --git a/man2/select_tut.2 b/man2/select_tut.2
index 14fb21063d..aa17a2158c 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