Hi Stephen,
Stephen Gregoratto wrote on Tue, May 14, 2019 at 01:08:00PM +1000:
> It was mentioned previously that the use of .Sx to refer to a section in
> a different manual page is incorrect. I grepped through the src tree to
> see if there were any cases of this and I found a couple.
Thanks, i committed the relevant parts of the patch.
Try not to mix unrelated, needless changes into patches,
though; i did not commit the parts cited below.
Yours,
Ingo
> diff --git a/share/man/man4/ip6.4 b/share/man/man4/ip6.4
> index 8acb7a762..a40b78f3a 100644
> --- a/share/man/man4/ip6.4
> +++ b/share/man/man4/ip6.4
> @@ -94,7 +94,8 @@ struct ip6_hdr {
> All fields are in network-byte order.
> Any options specified (see
> .Sx Options
> -below) must also be specified in network-byte order.
> +below)
> +must also be specified in network-byte order.
> .Pp
> .Va ip6_flow
> specifies the flow ID.
That change provides no benefit.
> diff --git a/share/man/man9/syscall.9 b/share/man/man9/syscall.9
> index 6a20b052e..1eb78609f 100644
> --- a/share/man/man9/syscall.9
> +++ b/share/man/man9/syscall.9
> @@ -175,9 +175,9 @@ else
> .Pp
> The
> .Dq SYSCALL_DEBUG
> -parts of the code are explained in the section
> +parts of the code are explained in the
> .Sx Debugging
> -later in the document.
> +section below.
> For the
> .Dq KTRACE
> portions of the code refer to the
I committed that one separately.
> diff --git a/usr.sbin/vmctl/vmctl.8 b/usr.sbin/vmctl/vmctl.8
> index 144d774c8..0a7195a3c 100644
> --- a/usr.sbin/vmctl/vmctl.8
> +++ b/usr.sbin/vmctl/vmctl.8
> @@ -208,8 +208,8 @@ configure a gateway address on the VM host side,
> and run a simple DHCP/BOOTP server for the VM.
> See
> .Sx LOCAL INTERFACES
> -below for more information on how addresses are calculated and assigned when
> -using the
> +below for more information on how addresses are calculated and assigned
> +when using the
> .Fl L
> option.
> .It Fl m Ar size
That change provides no benefit.