Skip to content

Commit 592b442

Browse files
lhespressdonghengqaz
authored andcommitted
platform/esp-idf: Change the errno of readlinkat
1 parent f7c5ce1 commit 592b442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/shared/platform/esp-idf/espidf_platform.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ mkdirat(int fd, const char *path, mode_t mode)
182182
ssize_t
183183
readlinkat(int fd, const char *path, char *buf, size_t bufsize)
184184
{
185-
errno = ENOSYS;
185+
errno = EINVAL;
186186
return -1;
187187
}
188188

0 commit comments

Comments
 (0)