mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08: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:
parent
d49cd6a191
commit
e3c375eb4f
@ -37,7 +37,7 @@ do_test (void)
|
||||
|
||||
if (fp == NULL)
|
||||
{
|
||||
printf ("fdopen: %m\n");
|
||||
printf ("fopen: %m\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user