kernel: Style fixup.

This commit is contained in:
Augustin Cavalier 2021-08-27 19:02:20 -04:00
parent 9c91c3b5a2
commit f27a660a6a

View File

@ -50,7 +50,7 @@ syscall_restart_handle_timeout_pre(uint32& flags, bigtime_t& timeout)
timeout = *(bigtime_t*)thread->syscall_restart.parameters;
if (timeout > 0 && (flags & B_RELATIVE_TIMEOUT) != 0)
flags = (flags & ~B_RELATIVE_TIMEOUT) | B_ABSOLUTE_TIMEOUT;
} else if ((flags & B_RELATIVE_TIMEOUT)) {
} else if ((flags & B_RELATIVE_TIMEOUT) != 0) {
if (timeout > 0 && timeout < B_INFINITE_TIMEOUT) {
timeout += system_time();
// deal with overflow