mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-28 03:43:23 +00:00
Add gvisor pselect test
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
8b73cc8761
commit
dc124351d2
@ -54,7 +54,7 @@ fn do_clock_nanosleep(
|
||||
) -> Result<SyscallReturn> {
|
||||
let request_time = {
|
||||
let timespec = read_val_from_user::<timespec_t>(request_timespec_addr)?;
|
||||
Duration::from(timespec)
|
||||
Duration::try_from(timespec)?
|
||||
};
|
||||
|
||||
debug!(
|
||||
|
Reference in New Issue
Block a user