No, you may not /* FALLTHROUGH */. Not only will you return an incorrect

result, but you'd corrupt the kernel malloc() arena if it weren't for a
small but life-saving optimization in ioctl().

MFC after:	1 week
This commit is contained in:
des 2001-10-22 16:13:38 +00:00
parent 556b35dc83
commit 335ce8775a

View File

@ -268,7 +268,7 @@ procfs_ioctl(ap)
break;
case PIOCGFL:
*(unsigned int*)ap->a_data = (unsigned int)procp->p_pfsflags;
/* FALLTHROUGH */
break;
case PIOCSTATUS:
psp = (struct procfs_status *)ap->a_data;
psp->state = (procp->p_step == 0);