syslog and sys_select header cleanup

This commit is contained in:
auronandace
2026-03-01 16:30:29 +00:00
parent aeffcc1257
commit 697bbc659e
6 changed files with 52 additions and 56 deletions
+1 -4
View File
@@ -73,10 +73,7 @@ impl Cond {
let relative = match clock_id {
// FUTEX expect monotonic clock
CLOCK_MONOTONIC => timeout.clone(),
CLOCK_REALTIME => match timespec_realtime_to_monotonic(timeout.clone()) {
Ok(relative) => relative,
Err(err) => return Err(err),
},
CLOCK_REALTIME => timespec_realtime_to_monotonic(timeout.clone())?,
_ => return Err(Errno(EINVAL)),
};