summaryrefslogtreecommitdiff
path: root/components/libc/compilers
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-02-15 08:03:52 +0800
committerMeco Man <[email protected]>2021-02-15 08:03:52 +0800
commit540bacad9cfcb444378ae9dda6318d9aaf1b0176 (patch)
treef2a9837dc7bfd1c5a8d31a071c3a697e6fae0ad3 /components/libc/compilers
parentabcb05060332b83dfa5cd7d41f7c1ca15665a1f1 (diff)
update
Diffstat (limited to 'components/libc/compilers')
-rw-r--r--components/libc/compilers/dlib/syscall_remove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/libc/compilers/dlib/syscall_remove.c b/components/libc/compilers/dlib/syscall_remove.c
index ca949a5bc1..477955d0e1 100644
--- a/components/libc/compilers/dlib/syscall_remove.c
+++ b/components/libc/compilers/dlib/syscall_remove.c
@@ -19,6 +19,6 @@ int remove(const char *val)
#ifndef RT_USING_DFS
return -1;
#else
- return unlink(filename);
+ return unlink(val);
#endif
}