summaryrefslogtreecommitdiff
path: root/sysdeps/i386/bits/select.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/bits/select.h')
-rw-r--r--sysdeps/i386/bits/select.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/i386/bits/select.h b/sysdeps/i386/bits/select.h
index 34d2b0b27a..f2107e9ab7 100644
--- a/sysdeps/i386/bits/select.h
+++ b/sysdeps/i386/bits/select.h
@@ -17,7 +17,7 @@
Boston, MA 02111-1307, USA. */
#ifndef _SYS_SELECT_H
-#error "Never use <bits/select.h> directly; include <sys/select.h> instead."
+# error "Never use <bits/select.h> directly; include <sys/select.h> instead."
#endif
@@ -58,7 +58,7 @@
# define __FD_ZERO(set) \
do { \
unsigned int __i; \
- __fd_mask *__arr = (set); \
+ __fd_set *__arr = (set); \
for (__i = 0; __i < sizeof (__fd_set) / sizeof (__fd_mask); ++__i) \
__arr->fds_bits[__i] = 0; \
} while (0)