commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Samuel Thibault
Subject: [hurd, commited 1/3] tst-cond11: Fix build with _SC_MONOTONIC_CLOCK > 0
Date: Mon, 1 Jun 2020 19:39:57 +0200

* 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]