The sysctl cannot fail. If it does fail on some FreeBSD derivative or after some future change, just abort() so that the problem will be found and fixed.
While abort() is not normally suitable for a library, it makes sense here.
This is akin to D8077 for arc4random.