[hurd, commited 1/3] tst-cond11: Fix build with _SC_MONOTONIC_CLOCK > 0

Samuel Thibault samuel.thibault@ens-lyon.org
Mon Jun 1 17:39:57 GMT 2020


* sysdeps/pthread/tst-cond11.c (do_test): Fix misplaced brace.
---
 sysdeps/pthread/tst-cond11.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/pthread/tst-cond11.c b/sysdeps/pthread/tst-cond11.c
index 209e2f0c8d..9be006dddb 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);
-- 
2.26.2



More information about the Libc-alpha mailing list