diff options
Diffstat (limited to 'fs/select.c')
-rw-r--r-- | fs/select.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/select.c b/fs/select.c index 6fb8943d580b..17d33d09fc16 100644 --- a/fs/select.c +++ b/fs/select.c | |||
@@ -348,7 +348,7 @@ static int max_select_fd(unsigned long n, fd_set_bits *fds) | |||
348 | set = ~(~0UL << (n & (__NFDBITS-1))); | 348 | set = ~(~0UL << (n & (__NFDBITS-1))); |
349 | n /= __NFDBITS; | 349 | n /= __NFDBITS; |
350 | fdt = files_fdtable(current->files); | 350 | fdt = files_fdtable(current->files); |
351 | open_fds = fdt->open_fds->fds_bits+n; | 351 | open_fds = fdt->open_fds + n; |
352 | max = 0; | 352 | max = 0; |
353 | if (set) { | 353 | if (set) { |
354 | set &= BITS(fds, n); | 354 | set &= BITS(fds, n); |