aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/generic
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/generic')
-rw-r--r--sysdeps/unix/sysv/linux/generic/____longjmp_chk.c4
-rw-r--r--sysdeps/unix/sysv/linux/generic/futimesat.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/generic/____longjmp_chk.c b/sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
index c918616f3e..8c283775e1 100644
--- a/sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
+++ b/sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
@@ -49,8 +49,8 @@ void ____longjmp_chk (__jmp_buf env, int val)
/* If we we are executing on the alternate stack and within the
bounds, do the longjmp. */
- if (ss.ss_flags == SS_ONSTACK &&
- (this_frame >= ss.ss_sp && this_frame < (ss.ss_sp + ss.ss_size)))
+ if (ss.ss_flags == SS_ONSTACK
+ && (this_frame >= ss.ss_sp && this_frame < (ss.ss_sp + ss.ss_size)))
__longjmp (env, val);
__fortify_fail ("longjmp causes uninitialized stack frame");
diff --git a/sysdeps/unix/sysv/linux/generic/futimesat.c b/sysdeps/unix/sysv/linux/generic/futimesat.c
index f809cf63c9..93abc34c22 100644
--- a/sysdeps/unix/sysv/linux/generic/futimesat.c
+++ b/sysdeps/unix/sysv/linux/generic/futimesat.c
@@ -37,8 +37,8 @@ futimesat (int fd, const char *file, const struct timeval tvp[2])
if (tvp)
{
- if (tvp[0].tv_usec >= 1000000 || tvp[0].tv_usec < 0 ||
- tvp[1].tv_usec >= 1000000 || tvp[1].tv_usec < 0)
+ if (tvp[0].tv_usec >= 1000000 || tvp[0].tv_usec < 0
+ || tvp[1].tv_usec >= 1000000 || tvp[1].tv_usec < 0)
{
__set_errno (EINVAL);
return -1;