diff options
Diffstat (limited to 'gcc/gcc.c')
-rwxr-xr-x | gcc/gcc.c | 17 |
1 files changed, 1 insertions, 16 deletions
@@ -1161,22 +1161,7 @@ char * xstrerror(e) int e; { -#ifdef HAVE_STRERROR - - return strerror(e); - -#else - - static char buffer[30]; - if (!e) - return "cannot access"; - - if (e > 0 && e < sys_nerr) - return sys_errlist[e]; - - sprintf (buffer, "Unknown error %d", e); - return buffer; -#endif + return strerror(e); } static char * |