1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

libio/bug-wsetpos: Make the error message match the causing function

This test case calls `fopen':

  FILE *fp = fopen (temp_file, "r");

however if that fails it reports `fdopen' being the origin of the error.
Adjust the message to say `fopen' then.
This commit is contained in:
Maciej W. Rozycki
2024-05-13 12:50:48 +01:00
parent d49cd6a191
commit e3c375eb4f

View File

@@ -37,7 +37,7 @@ do_test (void)
if (fp == NULL)
{
printf ("fdopen: %m\n");
printf ("fopen: %m\n");
return 1;
}