kernel: Fix fallthrough in switch statement
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
apio 2023-07-10 21:09:12 +02:00
parent 3df40beaf2
commit fe9827bbeb
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -88,9 +88,9 @@ Result<u64> sys_sigprocmask(Registers*, SyscallArgs args)
switch (how)
{
case SIG_BLOCK: current->signal_mask |= kset;
case SIG_UNBLOCK: current->signal_mask &= ~kset;
case SIG_SETMASK: current->signal_mask = kset;
case SIG_BLOCK: current->signal_mask |= kset; break;
case SIG_UNBLOCK: current->signal_mask &= ~kset; break;
case SIG_SETMASK: current->signal_mask = kset; break;
default: return err(EINVAL);
}
}