about summary refs log tree commit diff
path: root/nptl/tst-setuid2.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/tst-setuid2.c')
-rw-r--r--nptl/tst-setuid2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/tst-setuid2.c b/nptl/tst-setuid2.c
index 951aeccac5..260aa38eee 100644
--- a/nptl/tst-setuid2.c
+++ b/nptl/tst-setuid2.c
@@ -135,7 +135,7 @@ do_test (void)
 
   /* If we get here, check that the kernel did the right thing. */
   run_on_thread (get_thread_ids);
-  if (ruid != 1001 || euid != 1002 || euid != 1003)
+  if (ruid != 1001 || euid != 1002 || suid != 1003)
     FAIL ("unexpected UIDs after setuid: %ld, %ld, %ld",
 	  (long) ruid, (long) euid, (long) suid);
   return 0;