summaryrefslogtreecommitdiff
path: root/nptl/tst-stackguard1.c
diff options
context:
space:
mode:
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",