summary refs log tree commit diff
path: root/misc/error.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-11-19 14:56:07 +0000
committerUlrich Drepper <drepper@redhat.com>1998-11-19 14:56:07 +0000
commitb0428320f5c2a0444786f144061095c29bfe6943 (patch)
tree6bd26ecc77436662dd0ab25187ead2acce67ffc9 /misc/error.c
parent1da995555a114b464501de39bdbf124bc8a1da2e (diff)
downloadglibc-b0428320f5c2a0444786f144061095c29bfe6943.tar.gz
glibc-b0428320f5c2a0444786f144061095c29bfe6943.tar.xz
glibc-b0428320f5c2a0444786f144061095c29bfe6943.zip
Update.
	* misc/error.c: Undo last change.

	* manual/errno.texi: Change the short text for ENODEV to
Diffstat (limited to 'misc/error.c')
-rw-r--r--misc/error.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/misc/error.c b/misc/error.c
index 2af2cc5b90..ca7f3b47b8 100644
--- a/misc/error.c
+++ b/misc/error.c
@@ -157,10 +157,7 @@ error (status, errnum, message, va_alist)
     {
 #if defined HAVE_STRERROR_R || defined _LIBC
       char errbuf[1024];
-      /* Don't use __strerror_r's return value because on some systems
-	 (at least DEC UNIX 4.0[A-D]) strerror_r returns `int'.  */
-      __strerror_r (errnum, errbuf, sizeof errbuf);
-      fprintf (stderr, ": %s", errbuf);
+      fprintf (stderr, ": %s", __strerror_r (errnum, errbuf, sizeof errbuf));
 #else
       fprintf (stderr, ": %s", strerror (errnum));
 #endif