diff options
Diffstat (limited to 'man2/select.2')
| -rw-r--r-- | man2/select.2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man2/select.2 b/man2/select.2 index e63b97726e..a62ffaa900 100644 --- a/man2/select.2 +++ b/man2/select.2 @@ -283,7 +283,7 @@ main(void) { retval = select(1, &rfds, NULL, NULL, &tv); /* Don't rely on the value of tv now! */ - if (retval == -1) + if (retval == \-1) perror("select()"); else if (retval) printf("Data is available now.\\n"); |
