From 52a5e9757ed1f93f1be9890e0aea4ce947635320 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 11 Apr 2003 22:07:03 +0000 Subject: * string/tester.c (test_strcmp): Fix a typo. --- string/tester.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'string/tester.c') diff --git a/string/tester.c b/string/tester.c index dab5705..5f0a851 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; -- cgit v1.1