aboutsummaryrefslogtreecommitdiff
path: root/dirent/opendir-tst1.c
diff options
context:
space:
mode:
Diffstat (limited to 'dirent/opendir-tst1.c')
-rw-r--r--dirent/opendir-tst1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dirent/opendir-tst1.c b/dirent/opendir-tst1.c
index dfab1d9b3d..4ecd5ae446 100644
--- a/dirent/opendir-tst1.c
+++ b/dirent/opendir-tst1.c
@@ -41,14 +41,14 @@ real_test (void)
if (dirp != NULL)
{
/* Oh, oh, how can this work? */
- fputs ("`opendir' succeeded on a FIFO???\n", stderr);
+ fputs ("`opendir' succeeded on a FIFO???\n", stdout);
closedir (dirp);
return 1;
}
if (errno != ENOTDIR)
{
- fprintf (stderr, "`opendir' return error `%s' instead of `%s'\n",
+ fprintf (stdout, "`opendir' return error `%s' instead of `%s'\n",
strerror (errno), strerror (ENOTDIR));
return 1;
}