diff options
Diffstat (limited to 'hurd/getdport.c')
-rw-r--r-- | hurd/getdport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hurd/getdport.c b/hurd/getdport.c index 09ccc64dcf..8c63789276 100644 --- a/hurd/getdport.c +++ b/hurd/getdport.c @@ -41,8 +41,8 @@ __getdport (int fd) return MACH_PORT_NULL; } - if (fd < 0 || (unsigned int) fd > _hurd_init_dtablesize || - _hurd_init_dtable[fd] == MACH_PORT_NULL) + if (fd < 0 || (unsigned int) fd > _hurd_init_dtablesize + || _hurd_init_dtable[fd] == MACH_PORT_NULL) { errno = EBADF; return MACH_PORT_NULL; |