about summary refs log tree commit diff
path: root/manual/examples/dir.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-05-27 07:05:32 +0000
committerUlrich Drepper <drepper@redhat.com>2001-05-27 07:05:32 +0000
commitb912ca1144ef3e8f006c714805cfb9cc61dfbaca (patch)
treec89a7a06f51213f72f673d6ba5fdb022cde32b22 /manual/examples/dir.c
parent995a692a486b2e250f598097543dd04135cec327 (diff)
downloadglibc-b912ca1144ef3e8f006c714805cfb9cc61dfbaca.tar.gz
glibc-b912ca1144ef3e8f006c714805cfb9cc61dfbaca.tar.xz
glibc-b912ca1144ef3e8f006c714805cfb9cc61dfbaca.zip
Update.
2001-05-25  Bruce Mitchener  <bruce@cubik.org>

	* manual/ctype.texi: Minor fix.
	* manual/install.texi: Likewise.
	* manual/startup.texi: Likewise.
	* manual/examples/dir.c: Use perror() rather than puts().

2001-05-25  David Mosberger  <davidm@hpl.hp.com>

	* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following
	#endif directive inside a comment to avoid compiler warnings.

2001-05-25  Philipp Thomas  <pthomas@suse.de>

	* nis/nis_print.c (nis_nstype2str): Don't mark names of
	naming services for translation, only UNKNOWN needs it.
	Add comment to prevent it for the future.

2001-05-25  Joseph S. Myers  <jsm28@cam.ac.uk>

	* misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC
	3.1 and non-GCC C99 compilers.
Diffstat (limited to 'manual/examples/dir.c')
-rw-r--r--manual/examples/dir.c2
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;
 }