]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
KASSERT(9): add assertion message guidelines
authorMitchell Horne <mhorne@FreeBSD.org>
Thu, 21 Mar 2024 14:54:49 +0000 (11:54 -0300)
committerMitchell Horne <mhorne@FreeBSD.org>
Thu, 21 Mar 2024 15:24:16 +0000 (12:24 -0300)
commit83a426d13a6a384e63e75d8252c03dd40af3817e
treef1fe86964e86c98187a25998e55086a2127baf91
parentcc1268a926772900a08c61fd791bb66df1e6c30c
KASSERT(9): add assertion message guidelines

Add some text describing how to create useful assertion messages.
Improve and add to the EXAMPLES.

See the discussion prompting this on -hackers:
https://mail-archive.freebsd.org/cgi/mid.cgi?57o4rnnq-013s-3nsn-59n5-4ssn1pq81s94

Reviewed by: emaste
Discussed with: imp, bz
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D44434
share/man/man9/KASSERT.9