1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-07 06:43:00 +03:00

support: Correct error message for TEST_COMPARE_STRING

It should say "string", not "blob".
This commit is contained in:
Florian Weimer
2019-02-01 14:04:42 +01:00
parent baef194387
commit 6175507c06
3 changed files with 13 additions and 7 deletions

View File

@@ -75,7 +75,7 @@ support_test_compare_string (const char *left, const char *right,
|| memcmp (left, right, left_length) != 0)
{
support_record_failure ();
printf ("%s:%d: error: blob comparison failed\n", file, line);
printf ("%s:%d: error: string comparison failed\n", file, line);
if (left_length == right_length && right != NULL && left != NULL)
printf (" string length: %zu bytes\n", left_length);
else