aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--math/libm-test.inc6
-rw-r--r--string/stratcliff.c2
3 files changed, 6 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 09e61e5..96a7230 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2000-12-08 Ulrich Drepper <drepper@redhat.com>
+ * math/libm-test.inc (main): Fix typos in messages.
+
* string/stratcliff.c: Add test for rawmemchr.
2000-12-08 Jakub Jelinek <jakub@redhat.com>
diff --git a/math/libm-test.inc b/math/libm-test.inc
index e923795..b9426e5 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -4395,12 +4395,12 @@ main (int argc, char **argv)
printf (" %d test cases plus %d tests for exception flags executed.\n",
noTests, noExcTests);
if (noXFails)
- printf (" %d expected failures occured.\n", noXFails);
+ printf (" %d expected failures occurred.\n", noXFails);
if (noXPasses)
- printf (" %d unexpected passes occured.\n", noXPasses);
+ printf (" %d unexpected passes occurred.\n", noXPasses);
if (noErrors)
{
- printf (" %d errors occured.\n", noErrors);
+ printf (" %d errors occurred.\n", noErrors);
return 1;
}
printf (" All tests passed successfully.\n");
diff --git a/string/stratcliff.c b/string/stratcliff.c
index 139a5ff..bd95a2c 100644
--- a/string/stratcliff.c
+++ b/string/stratcliff.c
@@ -165,7 +165,7 @@ main (int argc, char *argv[])
if (cp - &adr[outer] != middle - outer)
{
printf ("rawmemchr flunked for outer = %d, middle = %d\n",
- outer, middle, inner);
+ outer, middle);
result = 1;
}