aboutsummaryrefslogtreecommitdiff
path: root/stdlib/tst-random.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/tst-random.c')
-rw-r--r--stdlib/tst-random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/tst-random.c b/stdlib/tst-random.c
index 2cc8e9c..47195d6 100644
--- a/stdlib/tst-random.c
+++ b/stdlib/tst-random.c
@@ -101,7 +101,7 @@ main (void)
{
char *oldstate = (char *) setstate (state[s]);
if (oldstate != state[(s + nseq - 1) % nseq])
- fail ("bad setstate() return value", i, s);
+ fail ("bad setstate() return value", s, i);
if (rnd[s][i] != random ())
fail ("bad value generated in interleave test", s, i);
}