about summary refs log tree commit diff
path: root/bits
diff options
context:
space:
mode:
Diffstat (limited to 'bits')
-rw-r--r--bits/select.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bits/select.h b/bits/select.h
index 8487e21bb3..0da0acbee8 100644
--- a/bits/select.h
+++ b/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
 
 
@@ -26,7 +26,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)