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

Committed
mavOct 15 2019, 6:39 PM
Parents
rS353579: Use __FreeBSD_version to determine if gets() has been removed.
Branches
Unknown
Tags
Unknown