about summary refs log tree commit diff
path: root/nptl/tst-stackguard1.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-08-08 21:24:28 +0000
committerJakub Jelinek <jakub@redhat.com>2005-08-08 21:24:28 +0000
commitc633e822b473e8135a36e413c5b79d7ce5a5d1fc (patch)
treee5df9cdd3adf75d668514db59074d3ec55442c2d /nptl/tst-stackguard1.c
parentedf63004732b28995411cf3dca34215cf2982901 (diff)
downloadglibc-c633e822b473e8135a36e413c5b79d7ce5a5d1fc.tar.gz
glibc-c633e822b473e8135a36e413c5b79d7ce5a5d1fc.tar.xz
glibc-c633e822b473e8135a36e413c5b79d7ce5a5d1fc.zip
* sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
	Shift marked &errno down on big-endian instead of up.
	* elf/tst-stackguard1.c (do_test): Fix a typo.
nptl/
	* tst-stackguard1.c (do_test): Likewise.
Diffstat (limited to 'nptl/tst-stackguard1.c')
-rw-r--r--nptl/tst-stackguard1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/tst-stackguard1.c b/nptl/tst-stackguard1.c
index d9bbe206c3..77ebbfbd7e 100644
--- a/nptl/tst-stackguard1.c
+++ b/nptl/tst-stackguard1.c
@@ -198,7 +198,7 @@ do_test (void)
       else if (child_stack_chk_guards[i] == default_guard)
 	ndefaults++;
       else if (*(char *) &child_stack_chk_guards[i] == 0)
-	npartlyrandomized = 0;
+	npartlyrandomized++;
     }
 
   printf ("differences %d defaults %d partly randomized %d\n",