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:
Bruce Evans 2000-05-11 16:54:52 +00:00
parent 7925aadbe5
commit 1c171d7474
3 changed files with 3 additions and 3 deletions

View File

@ -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",

View File

@ -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

View File

@ -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",