libio/bug-wsetpos: Make the error message match the causing function
commite3c375eb4f33e265b0cb186435c0b540ed27d2da
authorMaciej W. Rozycki <macro@redhat.com>
Mon, 13 May 2024 11:50:48 +0000 (13 12:50 +0100)
committerMaciej W. Rozycki <macro@redhat.com>
Mon, 13 May 2024 11:50:48 +0000 (13 12:50 +0100)
tree0058cbaf47f7654752483eb3d2a1153b8870884a
parentd49cd6a1913da9744b9a0ffbefb3f7958322382e
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.
libio/bug-wsetpos.c