Fix strerror redirecting to wrong function.
This commit is contained in:
parent
e08c13b344
commit
ffab25b0f4
|
@ -80,7 +80,7 @@ char* strchrnul(const char* str, int c);
|
||||||
const char* sortix_strerror(int errnum);
|
const char* sortix_strerror(int errnum);
|
||||||
#endif
|
#endif
|
||||||
#if defined(_SOURCE_SOURCE) && __SORTIX_STDLIB_REDIRECTS
|
#if defined(_SOURCE_SOURCE) && __SORTIX_STDLIB_REDIRECTS
|
||||||
const char* strerror(int errnum) asm ("sortix_getenv");
|
const char* strerror(int errnum) asm ("sortix_strerror");
|
||||||
#else
|
#else
|
||||||
char* strerror(int errnum);
|
char* strerror(int errnum);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue