mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -04:00
fix(storage/vfs_console): remove possible infinite recursion
This commit is contained in:
parent
eca073df3c
commit
0ed8ebddb6
@ -73,7 +73,7 @@ ssize_t console_write(int fd, const void *data, size_t size)
|
||||
|
||||
int console_fstat(int fd, struct stat * st)
|
||||
{
|
||||
return fstat(fd, st);
|
||||
return fstat(vfs_console.fd_primary, st);
|
||||
}
|
||||
|
||||
int console_close(int fd)
|
||||
|
Loading…
x
Reference in New Issue
Block a user