about summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-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 2cc8e9c60c..47195d635a 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);
 	}