diff options
Diffstat (limited to 'manual/examples')
-rw-r--r-- | manual/examples/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/examples/dir.c b/manual/examples/dir.c index b90f72da03..59ec62c84c 100644 --- a/manual/examples/dir.c +++ b/manual/examples/dir.c @@ -19,7 +19,7 @@ main (void) (void) closedir (dp); } else - puts ("Couldn't open the directory."); + perror ("Couldn't open the directory"); return 0; } |