summaryrefslogtreecommitdiff
path: root/tests/test-fflush2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-fflush2.c')
-rw-r--r--tests/test-fflush2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-fflush2.c b/tests/test-fflush2.c
index da60eff6a8..e7bfa654d8 100644
--- a/tests/test-fflush2.c
+++ b/tests/test-fflush2.c
@@ -69,7 +69,7 @@ main (int argc, char **argv)
according to the Austin Group's resolution on 2009-01-08. */
/* Check that fflush after a non-backup ungetc() call discards the
ungetc buffer. This is mandated by POSIX
- <https://pubs.opengroup.org/onlinepubs/9699919799/functions/ungetc.html> */
+ <https://pubs.opengroup.org/onlinepubs/9699919799/functions/fflush.html> */
c = fgetc (stdin);
ASSERT (c == '#');