mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-10 05:03:06 +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:
@@ -37,7 +37,7 @@ do_test (void)
|
|||||||
|
|
||||||
if (fp == NULL)
|
if (fp == NULL)
|
||||||
{
|
{
|
||||||
printf ("fdopen: %m\n");
|
printf ("fopen: %m\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user