diff options
author | Maciej W. Rozycki <macro@redhat.com> | 2024-05-13 12:50:48 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@redhat.com> | 2024-05-13 12:50:48 +0100 |
commit | e3c375eb4f33e265b0cb186435c0b540ed27d2da (patch) | |
tree | 0058cbaf47f7654752483eb3d2a1153b8870884a /libio | |
parent | d49cd6a1913da9744b9a0ffbefb3f7958322382e (diff) | |
download | glibc-e3c375eb4f33e265b0cb186435c0b540ed27d2da.tar.gz glibc-e3c375eb4f33e265b0cb186435c0b540ed27d2da.tar.xz glibc-e3c375eb4f33e265b0cb186435c0b540ed27d2da.zip |
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.
Diffstat (limited to 'libio')
-rw-r--r-- | libio/bug-wsetpos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/bug-wsetpos.c b/libio/bug-wsetpos.c index 0fc373ba49..8d47e9266f 100644 --- a/libio/bug-wsetpos.c +++ b/libio/bug-wsetpos.c @@ -37,7 +37,7 @@ do_test (void) if (fp == NULL) { - printf ("fdopen: %m\n"); + printf ("fopen: %m\n"); return 1; } |