aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-06-01 17:04:02 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-06-01 17:38:31 +0000
commit347885928184a5605111bcbc3513b3d28d2daed4 (patch)
tree0e5c9616b31b653d230342958dd8c1826f3c7592 /sysdeps
parent61af4bbb2ae5a4eefc4c4243135747bbdb0f0684 (diff)
downloadglibc-347885928184a5605111bcbc3513b3d28d2daed4.zip
glibc-347885928184a5605111bcbc3513b3d28d2daed4.tar.gz
glibc-347885928184a5605111bcbc3513b3d28d2daed4.tar.bz2
tst-cond11: Fix build with _SC_MONOTONIC_CLOCK > 0
* sysdeps/pthread/tst-cond11.c (do_test): Fix misplaced brace.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/pthread/tst-cond11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/pthread/tst-cond11.c b/sysdeps/pthread/tst-cond11.c
index 209e2f0..9be006d 100644
--- a/sysdeps/pthread/tst-cond11.c
+++ b/sysdeps/pthread/tst-cond11.c
@@ -104,8 +104,8 @@ do_test (void)
else if (e == 0)
FAIL_RET ("sysconf (_SC_MONOTONIC_CLOCK) must not return 0");
else
- {
# endif
+ {
run_test (CLOCK_MONOTONIC, CLOCK_USE_ATTR_CLOCK);
run_test (CLOCK_REALTIME, CLOCK_MONOTONIC);
run_test (CLOCK_MONOTONIC, CLOCK_MONOTONIC);