summaryrefslogtreecommitdiff
path: root/components/libc
diff options
context:
space:
mode:
Diffstat (limited to 'components/libc')
-rw-r--r--components/libc/newlib/syscalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/libc/newlib/syscalls.c b/components/libc/newlib/syscalls.c
index 7d3797948c..5b829f4753 100644
--- a/components/libc/newlib/syscalls.c
+++ b/components/libc/newlib/syscalls.c
@@ -82,7 +82,7 @@ _link_r(struct _reent *ptr, const char *old, const char *new)
_off_t
_lseek_r(struct _reent *ptr, int fd, _off_t pos, int whence)
{
-#ifndef RT_USING_DfS
+#ifndef RT_USING_DFS
return 0;
#else
_off_t rc;