* misc/error.c: Undo last change.

	* manual/errno.texi: Change the short text for ENODEV to
This commit is contained in:
Ulrich Drepper 1998-11-19 14:56:07 +00:00
parent 1da995555a
commit b0428320f5
2 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,7 @@
1998-11-19 Ulrich Drepper <drepper@cygnus.com>
* misc/error.c: Undo last change.
* ctype/Versions: Add _tolower and _toupper.
1998-11-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
@ -35,7 +37,7 @@
* io/Makefile (CFLAGS-ftw.c): Removed.
* manual/errno.texi> Change the short text for ENODEV to
* manual/errno.texi: Change the short text for ENODEV to
"No such device".
1998-11-18 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>

View File

@ -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