Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Aug 2026 14:58:42 +0000
From:      Alexander Ziaee <ziaee@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 8ce50d778757 - stable/15 - manuals: Fix more Fx and nearby mechanical typos
Message-ID:  <6a75f2a2.18053.3d11e360@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by ziaee:

URL: https://cgit.FreeBSD.org/src/commit/?id=8ce50d778757766d237d31e2d7fcea611fd3e204

commit 8ce50d778757766d237d31e2d7fcea611fd3e204
Author:     Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2026-08-04 14:04:23 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-08-07 14:58:19 +0000

    manuals: Fix more Fx and nearby mechanical typos
    
    Fix compiler warnings related to the Fx macro, as well as all other
    mechanical typos that were visible within one screenful of them. These
    cause rendering glitches on various toolchains with various of the five
    and a half decades of rich output formats and tooling manpages scale to.
    
    The *x macro set specifies operating systems. These macros take the rest
    of the line as an argument. Sometimes, a space was not used to separate
    the argument of Fx and the trailing period. Others had other parts of
    the sentence supplied as an argument to Fx.
    
    While here, fix the other mechanical typos visible on those specific
    screenfulls. Correct section typo AUTHOR to AUTHORS, markup utilities
    with Sy, and apply line break after the end of a sentence.
    
    PR:             297248
    MFC after:      3 days
    Reported by:    wosch (are you sure that's all of the broken Fx'es?)
    Fixes:          ff2bc641599a ("Fix Fx and nearby mechanical typos")
    Fixes:          d790b16bbf0c ("add man pages for stdbit functions")
    Fixes:          6c57e368eb17 ("implement C23 memalignment()")
    Fixes:          b06338167d64 ("ROUTE_MPATH and FIB_ALGO")
    Fixes:          7e1affa242ca ("revise divert-to and divert-reply")
    
    (cherry picked from commit 82c013fb59114b228cbc59536914be1c1772c69c)
---
 lib/libc/stdbit/stdc_first_leading_zero.3 |  2 +-
 lib/libc/stdlib/memalignment.3            |  4 ++--
 sbin/route/route.8                        |  3 ++-
 share/man/man5/pf.conf.5                  | 16 +++++++++++-----
 4 files changed, 16 insertions(+), 9 deletions(-)

diff --git a/lib/libc/stdbit/stdc_first_leading_zero.3 b/lib/libc/stdbit/stdc_first_leading_zero.3
index 7e99729921f1..863f8fdb565b 100644
--- a/lib/libc/stdbit/stdc_first_leading_zero.3
+++ b/lib/libc/stdbit/stdc_first_leading_zero.3
@@ -87,6 +87,6 @@ The
 family of functions and the
 .Fn stdc_first_leading_zero
 type-generic macro were added in
-.Fx 15.1.
+.Fx 15.1 .
 .Sh AUTHORS
 .An Robert Clausecker Aq Mt fuz@FreeBSD.org
diff --git a/lib/libc/stdlib/memalignment.3 b/lib/libc/stdlib/memalignment.3
index 4a2269a82c81..08ab1d4507e5 100644
--- a/lib/libc/stdlib/memalignment.3
+++ b/lib/libc/stdlib/memalignment.3
@@ -48,6 +48,6 @@ function conforms to
 The
 .Fn memalignment
 function was added in
-.Fx 15.1.
-.Sh AUTHOR
+.Fx 15.1 .
+.Sh AUTHORS
 .An Robert Clausecker Aq Mt fuz@FreeBSD.org
diff --git a/sbin/route/route.8 b/sbin/route/route.8
index 572781ef59c8..a217ea1fc50d 100644
--- a/sbin/route/route.8
+++ b/sbin/route/route.8
@@ -402,7 +402,8 @@ and
 As such, only the super-user may modify
 the routing tables.
 .Pp
-.Fx provides support for scalable multipath routing.
+.Fx
+provides support for scalable multipath routing.
 It is activated by default, but can be turned off by setting the
 .Va net.route.multipath
 .Xr sysctl 8
diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5
index 83f0239b78a6..641a54fd1a0b 100644
--- a/share/man/man5/pf.conf.5
+++ b/share/man/man5/pf.conf.5
@@ -2325,17 +2325,23 @@ Used to
 packets to the given divert
 .Ar port .
 Historically
-.Ox pf has another meaning for this, and
-.Fx pf uses
-this syntax to support
-.Xr divert 4 instead. Hence,
+.Ox
+.Sy pf
+has another meaning for this, and
+.Fx
+.Sy pf
+uses this syntax to support
+.Xr divert 4
+instead.
+Hence,
 .Ar host
 has no meaning and can be set to anything like 127.0.0.1.
 If a packet is re-injected and does not change direction then it will not be
 re-diverted.
 .It Ar divert-reply
 It has no meaning in
-.Fx pf .
+.Fx
+.Sy pf .
 .It Ar probability Aq Ar number
 A probability attribute can be attached to a rule, with a value set between
 0 and 1, bounds not included.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a75f2a2.18053.3d11e360>