diff options
| author | Meco Man <[email protected]> | 2021-12-26 09:41:24 -0500 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2021-12-30 01:27:25 +0800 |
| commit | ed09f38012131850cd67c1392554653b56a37341 (patch) | |
| tree | 63336abe8aac0d277e48c7286e3f303b88b35357 /components/libc/compilers/dlib/syscall_write.c | |
| parent | 5925abce3ea69ad1e8db468c4015a6e76e217bb9 (diff) | |
[libc] remove RT_USING_LIBC
Diffstat (limited to 'components/libc/compilers/dlib/syscall_write.c')
| -rw-r--r-- | components/libc/compilers/dlib/syscall_write.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/libc/compilers/dlib/syscall_write.c b/components/libc/compilers/dlib/syscall_write.c index 2bc5863d8a..11a6f9cca5 100644 --- a/components/libc/compilers/dlib/syscall_write.c +++ b/components/libc/compilers/dlib/syscall_write.c @@ -11,7 +11,8 @@ #include <rtthread.h> #include <LowLevelIOInterface.h> #include <unistd.h> -#define DBG_TAG "dlib.syscall_write" +#include <compiler_private.h> +#define DBG_TAG "dlib.syscall.write" #define DBG_LVL DBG_INFO #include <rtdbg.h> @@ -63,6 +64,7 @@ size_t __write(int handle, const unsigned char *buf, size_t len) size = write(handle, buf, len); return size; /* return the length of the data written */ #else + LOG_W(warning_without_fs); return _LLIO_ERROR; #endif /* DFS_USING_POSIX */ } |
