fix(storage/vfs_console): remove possible infinite recursion

This commit is contained in:
Tomáš Rohlínek
2024-05-24 12:17:00 +02:00
parent 87fd8b41d8
commit c23dbefd45

View File

@ -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)