Fix strerror redirecting to wrong function.

This commit is contained in:
Jonas 'Sortie' Termansen 2012-11-08 19:34:42 +01:00
parent e08c13b344
commit ffab25b0f4
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ char* strchrnul(const char* str, int c);
const char* sortix_strerror(int errnum);
#endif
#if defined(_SOURCE_SOURCE) && __SORTIX_STDLIB_REDIRECTS
const char* strerror(int errnum) asm ("sortix_getenv");
const char* strerror(int errnum) asm ("sortix_strerror");
#else
char* strerror(int errnum);
#endif