diff options
author | des <des@FreeBSD.org> | 2001-10-22 16:13:38 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2001-10-22 16:13:38 +0000 |
commit | 335ce8775ad21b01a0a33c71ade3892b82981b08 (patch) | |
tree | 7d02abd46799ae7695591b2ddd70be995e8c355d /sys/fs | |
parent | 556b35dc8365eeaad52f6abbb2a8fa9df163e606 (diff) | |
download | FreeBSD-src-335ce8775ad21b01a0a33c71ade3892b82981b08.zip FreeBSD-src-335ce8775ad21b01a0a33c71ade3892b82981b08.tar.gz |
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
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/procfs/procfs_vnops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/procfs/procfs_vnops.c b/sys/fs/procfs/procfs_vnops.c index d9a5f57..099e2b9 100644 --- a/sys/fs/procfs/procfs_vnops.c +++ b/sys/fs/procfs/procfs_vnops.c @@ -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); |