Do not touch file pointers for which FILE_IS_USABLE() is false.
authorgerhard <gerhard@openbsd.org>
Tue, 20 Jun 2017 14:11:46 +0000 (14:11 +0000)
committergerhard <gerhard@openbsd.org>
Tue, 20 Jun 2017 14:11:46 +0000 (14:11 +0000)
commit608dd9d157c752796f552d21c6e9d8296abd7990
tree04a0dafc91157463f228b2c3ca5c9974507ef8c2
parent53de56e53fddd49f8c46124c121534d9c348e76c
Do not touch file pointers for which FILE_IS_USABLE() is false.
They're might not be fully constructed.

ok mpi@ deraadt@ bluhm@
sys/kern/kern_sysctl.c