aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/multi-single.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/multi-single.c')
-rw-r--r--docs/examples/multi-single.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/examples/multi-single.c b/docs/examples/multi-single.c
index 1998d25db..b6ba0c5c0 100644
--- a/docs/examples/multi-single.c
+++ b/docs/examples/multi-single.c
@@ -70,6 +70,8 @@ int main(int argc, char **argv)
switch(rc) {
case -1:
/* select error */
+ still_running = 0;
+ printf("select() returns error, this is badness\n");
break;
case 0:
default: