about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-04-11 22:07:03 +0000
committerRoland McGrath <roland@gnu.org>2003-04-11 22:07:03 +0000
commit52a5e9757ed1f93f1be9890e0aea4ce947635320 (patch)
treecc9dac50583a196a207255c36ac37d8c4da4d787
parent9eb55f49978484763a29d9f65cf4f6b0ed5a4978 (diff)
downloadglibc-52a5e9757ed1f93f1be9890e0aea4ce947635320.tar.gz
glibc-52a5e9757ed1f93f1be9890e0aea4ce947635320.tar.xz
glibc-52a5e9757ed1f93f1be9890e0aea4ce947635320.zip
* string/tester.c (test_strcmp): Fix a typo.
-rw-r--r--ChangeLog4
-rw-r--r--string/tester.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 587ed92dfb..f68d16d8b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-04-11  Jakub Jelinek  <jakub@redhat.com>
+
+	* string/tester.c (test_strcmp): Fix a typo.
+
 2003-04-09  Ulrich Drepper  <drepper@redhat.com>
 
 	* sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD definition.
diff --git a/string/tester.c b/string/tester.c
index dab570500c..5f0a851104 100644
--- a/string/tester.c
+++ b/string/tester.c
@@ -89,8 +89,8 @@ test_strcmp (void)
 	  int k;
 	  for (k = 0; k < 0x3f; k++)
 	    {
-	      buf1[j] = '0' ^ (k & 4);
-	      buf2[j] = '4' ^ (k & 4);
+	      buf1[k] = '0' ^ (k & 4);
+	      buf2[k] = '4' ^ (k & 4);
 	    }
 	  buf1[i] = buf1[0x3f] = 0;
 	  buf2[j] = buf2[0x3f] = 0;