* string/tester.c (test_strcmp): Fix a typo.
authorRoland McGrath <roland@gnu.org>
Fri, 11 Apr 2003 22:07:03 +0000 (22:07 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 11 Apr 2003 22:07:03 +0000 (22:07 +0000)
ChangeLog
string/tester.c

index 587ed92dfb371ee60aa20856bd13edf381a77411..f68d16d8b8b3577adb76179f1bc3028c47c77a9e 100644 (file)
--- 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.
index dab570500cc0ee05f70d818ea13d6ee12b5d0ea6..5f0a85110411059a807f22a94841653f972ebc6a 100644 (file)
@@ -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;