]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - hurd/hurdinit.c
hurd: allow poll() array bigger than FD_SETSIZE
[thirdparty/glibc.git] / hurd / hurdinit.c
index 3b3619e68c5bd4b3e8f8a945e9b7914b17f864bd..43d49aa9b097db54aac755dcaa06e7b640b6b6c6 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992-2013 Free Software Foundation, Inc.
+/* Copyright (C) 1992-2015 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -38,7 +38,7 @@ int __libc_argc;
 error_t
 _hurd_ports_use (int which, error_t (*operate) (mach_port_t))
 {
-  if (__builtin_expect (_hurd_ports == NULL, 0))
+  if (__glibc_unlikely (_hurd_ports == NULL))
     /* This means that _hurd_init has not been called yet, which is
        normally only the case in the bootstrap filesystem, and there
        only in the early phases of booting.  */