Update src/sys/windows/hostcalls_impl/fs.rs

Co-Authored-By: Jakub Konka <kubkon@jakubkonka.com>
This commit is contained in:
Marcin Mielniczuk
2019-08-26 14:53:23 +02:00
committed by Jakub Konka
parent d617fe67ad
commit 417ec0be01

View File

@@ -288,7 +288,7 @@ pub(crate) fn fd_filestat_get_impl(file: &std::fs::File) -> Result<host::__wasi_
.modified()
.map_err(errno_from_ioerror)
.and_then(systemtime_to_timestamp)?,
st_filetype: filetype(&metadata)?,
st_filetype: filetype(file, &metadata)?,
})
}