diff options
Diffstat (limited to 'support/tst-support-open-dev-null-range.c')
-rw-r--r-- | support/tst-support-open-dev-null-range.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/tst-support-open-dev-null-range.c b/support/tst-support-open-dev-null-range.c index 8e29def1ce..3ed3177d57 100644 --- a/support/tst-support-open-dev-null-range.c +++ b/support/tst-support-open-dev-null-range.c @@ -1,5 +1,5 @@ /* Tests for support_open_dev_null_range. - Copyright (C) 2021 Free Software Foundation, Inc. + Copyright (C) 2021-2022 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 @@ -117,7 +117,7 @@ do_test (void) struct rlimit rl; if (getrlimit (RLIMIT_NOFILE, &rl) == -1) FAIL_EXIT1 ("getrlimit (RLIMIT_NOFILE): %m"); - + rl.rlim_cur = number_of_opened_files (); if (setrlimit (RLIMIT_NOFILE, &rl) == 1) |