summaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/tst-stackguard1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/tst-stackguard1.c b/elf/tst-stackguard1.c
index ed1b5687a2..50739e5b2e 100644
--- a/elf/tst-stackguard1.c
+++ b/elf/tst-stackguard1.c
@@ -168,7 +168,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",