HomeFreeBSD

MFC r352787: Replace argument checks with assertions.

Description

MFC r352787: Replace argument checks with assertions.

Those functions are used by kernel, and we can't check all possible argument
errors in production kernel. Plus according to docs many of those errors
are checked by hardware. Assertions should just help with code debugging.

Details

Provenance
mavAuthored on
Parents
rS353579: Use __FreeBSD_version to determine if gets() has been removed.
Branches
Unknown
Tags
Unknown