This commit is contained in:
Marcin Mielniczuk
2019-09-08 08:41:29 +02:00
committed by Jakub Konka
parent 438c693508
commit 57c19cf073
3 changed files with 11 additions and 3 deletions

View File

@@ -74,7 +74,7 @@ pub(crate) fn fd_advise(
| host::__WASI_ADVICE_NOREUSE
| host::__WASI_ADVICE_RANDOM
| host::__WASI_ADVICE_NORMAL => {}
_ => return Err(host::__WASI_EINVAL),
_ => return Err(Error::EINVAL),
}
Ok(())