nptl: futex: Provide correct indentation for part of __futex_abstimed_wait_cancelable64
Commit Message
By mistake the if for calling __futex_abstimed_wait_cancellable32 was
misaligned with the rest of the function body.
---
sysdeps/nptl/futex-internal.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Comments
On 08/09/2020 10:26, Lukasz Majewski wrote:
> By mistake the if for calling __futex_abstimed_wait_cancellable32 was
> misaligned with the rest of the function body.
LGTM, thanks.
> ---
> sysdeps/nptl/futex-internal.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/sysdeps/nptl/futex-internal.c b/sysdeps/nptl/futex-internal.c
> index 5e52f17dee..de5a9626e3 100644
> --- a/sysdeps/nptl/futex-internal.c
> +++ b/sysdeps/nptl/futex-internal.c
> @@ -67,9 +67,9 @@ __futex_abstimed_wait_cancelable64 (unsigned int* futex_word,
> abstime, NULL /* Unused. */,
> FUTEX_BITSET_MATCH_ANY);
> #ifndef __ASSUME_TIME64_SYSCALLS
> -if (err == -ENOSYS)
> - err = __futex_abstimed_wait_cancellable32 (futex_word, expected,
> - clockid, abstime, private);
> + if (err == -ENOSYS)
> + err = __futex_abstimed_wait_cancellable32 (futex_word, expected,
> + clockid, abstime, private);
Align the clockid the the other arguments as well.
> #endif
>
> switch (err)
>
@@ -67,9 +67,9 @@ __futex_abstimed_wait_cancelable64 (unsigned int* futex_word,
abstime, NULL /* Unused. */,
FUTEX_BITSET_MATCH_ANY);
#ifndef __ASSUME_TIME64_SYSCALLS
-if (err == -ENOSYS)
- err = __futex_abstimed_wait_cancellable32 (futex_word, expected,
- clockid, abstime, private);
+ if (err == -ENOSYS)
+ err = __futex_abstimed_wait_cancellable32 (futex_word, expected,
+ clockid, abstime, private);
#endif
switch (err)