summaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/tst-makecontext.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stdlib/tst-makecontext.c b/stdlib/tst-makecontext.c
index 5fe66f6fc1..00f8f1990e 100644
--- a/stdlib/tst-makecontext.c
+++ b/stdlib/tst-makecontext.c
@@ -26,11 +26,12 @@ char st1[8192];
__thread int thr;
int somevar = -76;
+long othervar = -78L;
void
cf (int i)
{
- if (i != -78 || thr != 94)
+ if (i != othervar || thr != 94)
{
printf ("i %d thr %d\n", i, thr);
exit (1);