MFS: make this file compilable with gcc 2.9x as well.
This commit is contained in:
parent
bb4265e4a1
commit
55955aa970
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99963
@ -190,10 +190,11 @@ error_tail (int status, int errnum, const char *message, va_list args)
|
||||
{
|
||||
# if defined HAVE_STRERROR_R || _LIBC
|
||||
char errbuf[1024];
|
||||
char *s;
|
||||
/* Don't use __strerror_r's return value because on some systems
|
||||
(at least DEC UNIX 4.0[A-D]) strerror_r returns `int'. */
|
||||
(void)__strerror_r (errnum, errbuf, sizeof errbuf);
|
||||
char *s = errbuf;
|
||||
s = errbuf;
|
||||
# if _LIBC && USE_IN_LIBIO
|
||||
if (_IO_fwide (stderr, 0) > 0)
|
||||
__fwprintf (stderr, L": %s", s);
|
||||
|
Loading…
Reference in New Issue
Block a user