diff --git a/lib/libc_r/uthread/pthread_private.h b/lib/libc_r/uthread/pthread_private.h index 0d99de4f3fae..78b75ef4dce9 100644 --- a/lib/libc_r/uthread/pthread_private.h +++ b/lib/libc_r/uthread/pthread_private.h @@ -114,12 +114,12 @@ #define stdout_debug(args...) do { \ char buf[128]; \ snprintf(buf, sizeof(buf), ##args); \ - _thread_sys_write(1, buf, strlen(buf)); \ + __sys_write(1, buf, strlen(buf)); \ } while (0) #define stderr_debug(args...) do { \ char buf[128]; \ snprintf(buf, sizeof(buf), ##args); \ - _thread_sys_write(2, buf, strlen(buf)); \ + __sys_write(2, buf, strlen(buf)); \ } while (0) diff --git a/lib/libkse/thread/thr_private.h b/lib/libkse/thread/thr_private.h index 0d99de4f3fae..78b75ef4dce9 100644 --- a/lib/libkse/thread/thr_private.h +++ b/lib/libkse/thread/thr_private.h @@ -114,12 +114,12 @@ #define stdout_debug(args...) do { \ char buf[128]; \ snprintf(buf, sizeof(buf), ##args); \ - _thread_sys_write(1, buf, strlen(buf)); \ + __sys_write(1, buf, strlen(buf)); \ } while (0) #define stderr_debug(args...) do { \ char buf[128]; \ snprintf(buf, sizeof(buf), ##args); \ - _thread_sys_write(2, buf, strlen(buf)); \ + __sys_write(2, buf, strlen(buf)); \ } while (0) diff --git a/lib/libpthread/thread/thr_private.h b/lib/libpthread/thread/thr_private.h index 0d99de4f3fae..78b75ef4dce9 100644 --- a/lib/libpthread/thread/thr_private.h +++ b/lib/libpthread/thread/thr_private.h @@ -114,12 +114,12 @@ #define stdout_debug(args...) do { \ char buf[128]; \ snprintf(buf, sizeof(buf), ##args); \ - _thread_sys_write(1, buf, strlen(buf)); \ + __sys_write(1, buf, strlen(buf)); \ } while (0) #define stderr_debug(args...) do { \ char buf[128]; \ snprintf(buf, sizeof(buf), ##args); \ - _thread_sys_write(2, buf, strlen(buf)); \ + __sys_write(2, buf, strlen(buf)); \ } while (0)