aboutsummaryrefslogtreecommitdiff
path: root/misc/tst-fdset.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/tst-fdset.c')
-rw-r--r--misc/tst-fdset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/tst-fdset.c b/misc/tst-fdset.c
index ddd25c3..14372cf 100644
--- a/misc/tst-fdset.c
+++ b/misc/tst-fdset.c
@@ -42,7 +42,7 @@ main (void)
fputs (", set", stdout);
FD_SET (i, &set);
fputs (", check:", stdout);
- if (FD_ISSET (i, &set) == 1)
+ if (FD_ISSET (i, &set))
fputs ("ok", stdout);
else
{