kernel: fpprocfork: fix CID 174315 (Missing break in switch)

This commit is contained in:
Giacomo Tesio 2017-08-14 15:22:51 +02:00
parent 8464d1a277
commit da588d69ec
1 changed files with 1 additions and 0 deletions

View File

@ -257,6 +257,7 @@ fpprocfork(Proc *p)
case FPactive:
fpsave(&up->fpsave);
up->fpstate = FPinactive;
/* fallthrough */
case FPinactive:
p->fpsave = up->fpsave;
p->fpstate = FPinactive;