kernel: Fix fallthrough in switch statement
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
parent
3df40beaf2
commit
fe9827bbeb
@ -88,9 +88,9 @@ Result<u64> sys_sigprocmask(Registers*, SyscallArgs args)
|
|||||||
|
|
||||||
switch (how)
|
switch (how)
|
||||||
{
|
{
|
||||||
case SIG_BLOCK: current->signal_mask |= kset;
|
case SIG_BLOCK: current->signal_mask |= kset; break;
|
||||||
case SIG_UNBLOCK: current->signal_mask &= ~kset;
|
case SIG_UNBLOCK: current->signal_mask &= ~kset; break;
|
||||||
case SIG_SETMASK: current->signal_mask = kset;
|
case SIG_SETMASK: current->signal_mask = kset; break;
|
||||||
default: return err(EINVAL);
|
default: return err(EINVAL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user