about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-03-18 01:21:42 +0000
committerRoland McGrath <roland@gnu.org>2003-03-18 01:21:42 +0000
commit5bfd37b634aaf1ae85a07fd60dd502851f366594 (patch)
treee53dc66a65753c2ee0190f2ba97a24df801d9f7e /nptl
parentf911cc4a7455dfcaf6edb38e7525241ff0268109 (diff)
downloadglibc-5bfd37b634aaf1ae85a07fd60dd502851f366594.tar.gz
glibc-5bfd37b634aaf1ae85a07fd60dd502851f366594.tar.xz
glibc-5bfd37b634aaf1ae85a07fd60dd502851f366594.zip
2003-03-17 Roland McGrath <roland@redhat.com>
	* sysdeps/unix/sysv/linux/lowlevellock.c (__lll_lock_wait):
	Formatting tweaks.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/lowlevellock.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/lowlevellock.c b/nptl/sysdeps/unix/sysv/linux/lowlevellock.c
index 99f804c986..cdde262384 100644
--- a/nptl/sysdeps/unix/sysv/linux/lowlevellock.c
+++ b/nptl/sysdeps/unix/sysv/linux/lowlevellock.c
@@ -28,8 +28,11 @@ void
 __lll_lock_wait (int *futex, int val)
 {
   do
+    {
       lll_futex_wait (futex, val + 1);
-  while ((val = __lll_add (futex, 1)) != 0);
+      val = __lll_add (futex, 1);
+    }
+  while (val != 0);
   *futex = 2;
 }
 hidden_proto (__lll_lock_wait)