From b0428320f5c2a0444786f144061095c29bfe6943 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 19 Nov 1998 14:56:07 +0000 Subject: Update. * misc/error.c: Undo last change. * manual/errno.texi: Change the short text for ENODEV to --- misc/error.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'misc') diff --git a/misc/error.c b/misc/error.c index 2af2cc5..ca7f3b4 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 -- cgit v1.1