summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/tst-personality.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/tst-personality.c')
-rw-r--r--sysdeps/unix/sysv/linux/tst-personality.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/tst-personality.c b/sysdeps/unix/sysv/linux/tst-personality.c
index 29be539f2b..881ddfbd14 100644
--- a/sysdeps/unix/sysv/linux/tst-personality.c
+++ b/sysdeps/unix/sysv/linux/tst-personality.c
@@ -30,11 +30,11 @@ do_test (void)
errno = 0xdefaced;
saved_persona = personality (0xffffffff);
- if (personality (test_persona) != saved_persona ||
- personality (0xffffffff) == -1 ||
- personality (PER_LINUX) == -1 ||
- personality (0xffffffff) != PER_LINUX ||
- 0xdefaced != errno)
+ if (personality (test_persona) != saved_persona
+ || personality (0xffffffff) == -1
+ || personality (PER_LINUX) == -1
+ || personality (0xffffffff) != PER_LINUX
+ || 0xdefaced != errno)
rc = 1;
(void) personality (saved_persona);