mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 23:19:00 +00:00
Abuse .Fn for macros better (don't hand-format the parameter string by
quoting it all and adding commas). Don't say that the expression in KASSERT() is an int. It is a collection of tokens forming a C expression that can be compared with 0.
This commit is contained in:
parent
7925aadbe5
commit
1c171d7474
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60392
@ -36,7 +36,7 @@
|
||||
.Sh SYNOPSIS
|
||||
.Cd options INVARIANTS
|
||||
.Cd options INVARIANT_SUPPORT
|
||||
.Fn CONDSPLASSERT "condition, level, const char *msg"
|
||||
.Fn CONDSPLASSERT condition level "const char *msg"
|
||||
.Sh DESCRIPTION
|
||||
In a kernel compiled with both "options INVARIANTS"
|
||||
and "options INVARIANT_SUPPORT",
|
||||
|
@ -36,7 +36,7 @@
|
||||
.Nd kernel expression verification macro
|
||||
.Sh SYNOPSIS
|
||||
.Cd options INVARIANTS
|
||||
.Fn KASSERT "int expression, const char *msg"
|
||||
.Fn KASSERT expression "const char *msg"
|
||||
.Sh DESCRIPTION
|
||||
In a kernel compiled with "options INVARIANTS",
|
||||
the
|
||||
|
@ -37,7 +37,7 @@
|
||||
.Sh SYNOPSIS
|
||||
.Cd options INVARIANTS
|
||||
.Cd options INVARIANT_SUPPORT
|
||||
.Fn SPLASSERT "level, const char *msg"
|
||||
.Fn SPLASSERT level "const char *msg"
|
||||
.Sh DESCRIPTION
|
||||
In a kernel compiled with both "options INVARIANTS"
|
||||
and "options INVARIANT_SUPPORT",
|
||||
|
Loading…
Reference in New Issue
Block a user