summaryrefslogtreecommitdiff
path: root/components/libc/compilers/dlib/syscall_read.c
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-12-29 07:48:36 -0500
committerBernard Xiong <[email protected]>2021-12-30 01:27:25 +0800
commit85276f453578e0ea74f39cfcc609f867f919f059 (patch)
treef286594c3ce9f954903281f305e0538dde45d02f /components/libc/compilers/dlib/syscall_read.c
parentc8dcf7cc6805bcf5380d524d7a5c44e2ff366128 (diff)
[libc] 删除compiler_private.c文件
Diffstat (limited to 'components/libc/compilers/dlib/syscall_read.c')
-rw-r--r--components/libc/compilers/dlib/syscall_read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/libc/compilers/dlib/syscall_read.c b/components/libc/compilers/dlib/syscall_read.c
index 525db3c98f..db523cc0a6 100644
--- a/components/libc/compilers/dlib/syscall_read.c
+++ b/components/libc/compilers/dlib/syscall_read.c
@@ -47,7 +47,7 @@ size_t __read(int handle, unsigned char *buf, size_t len)
}
return read(STDIN_FILENO, buf, len); /* return the length of the data read */
#else
- LOG_W(warning_without_devio);
+ LOG_W(_WARNING_WITHOUT_DEVIO);
return _LLIO_ERROR;
#endif /* RT_USING_POSIX_DEVIO */
}
@@ -59,7 +59,7 @@ size_t __read(int handle, unsigned char *buf, size_t len)
size = read(handle, buf, len);
return size; /* return the length of the data read */
#else
- LOG_W(warning_without_fs);
+ LOG_W(_WARNING_WITHOUT_FS);
return _LLIO_ERROR;
#endif /* DFS_USING_POSIX */
}