Skip to content
Snippets Groups Projects
Commit d6e3f3d2 authored by Simon Marlow's avatar Simon Marlow
Browse files

small cleanup

parent 6f1a4327
No related branches found
No related tags found
No related merge requests found
...@@ -218,12 +218,12 @@ awaitEvent(rtsBool wait) ...@@ -218,12 +218,12 @@ awaitEvent(rtsBool wait)
the RTS won't loop. the RTS won't loop.
*/ */
if ( errno == EBADF ) { if ( errno == EBADF ) {
unblock_all = rtsTrue; unblock_all = rtsTrue;
break; break;
} else { } else {
perror("select"); sysErrorBelch("select");
barf("select failed"); stg_exit(EXIT_FAILURE);
} }
} }
/* We got a signal; could be one of ours. If so, we need /* We got a signal; could be one of ours. If so, we need
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment