HomeFreeBSD

sysctl: Refactor function parsefile()

Description

sysctl: Refactor function parsefile()

Let the caller open the file and pass in the file handler. This can
benefit an upcoming change so that we will have cleaner logic.

No functional change intended.

Suggested by: markj
MFC after: 1 week

Details

Provenance
zleiAuthored on Thu, Jan 30, 6:20 PM
Parents
rG903c7cdac5b5: vnet: Fix style nits
Branches
Unknown
Tags
Unknown