1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

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

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