]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
tst-cond11: Fix build with _SC_MONOTONIC_CLOCK > 0
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 1 Jun 2020 17:04:02 +0000 (17:04 +0000)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 1 Jun 2020 17:38:31 +0000 (17:38 +0000)
* sysdeps/pthread/tst-cond11.c (do_test): Fix misplaced brace.

sysdeps/pthread/tst-cond11.c

index 209e2f0c8df9988e9597453f7b52ecf2726a8315..9be006dddbb1e39468f9a55a7db4e988f931f23f 100644 (file)
@@ -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);