git: fd9ce8745f64 - stable/13 - printf(9): clarify the description of %b

From: Mitchell Horne <mhorne_at_FreeBSD.org>
Date: Fri, 09 Jun 2023 19:57:57 UTC
The branch stable/13 has been updated by mhorne:

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

commit fd9ce8745f643e718014ca301e63c07bad1595d9
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2023-04-25 20:26:36 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2023-06-09 18:14:58 +0000

    printf(9): clarify the description of %b
    
    The bit values are numbers given in octal representation, not decimal,
    as one might assume from the description. Same goes for the base,
    although this has an example.
    
    Reviewed by:    emaste
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D39815
    
    (cherry picked from commit 82bc33d5ad2e00179ea7026c496a35b00550da15)
---
 share/man/man9/printf.9 | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/share/man/man9/printf.9 b/share/man/man9/printf.9
index 33347fb135ca..631701e455cf 100644
--- a/share/man/man9/printf.9
+++ b/share/man/man9/printf.9
@@ -26,7 +26,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd April 14, 2023
+.Dd April 25, 2023
 .Dt PRINTF 9
 .Os
 .Sh NAME
@@ -94,11 +94,13 @@ and a
 These are used as a register value and a print mask for decoding bitmasks.
 The print mask is made up of two parts: the base and the
 arguments.
-The base value is the output base expressed as an integer value;
+The base value is the output base (radix) expressed as an octal value;
 for example, \e10 gives octal and \e20 gives hexadecimal.
 The arguments are made up of a sequence of bit identifiers.
-Each bit identifier begins with an integer value which is the number of the
-bit (starting from 1) this identifier describes.
+Each bit identifier begins with an
+.Em octal
+value which is the number of the bit (starting from 1) this identifier
+describes.
 The rest of the identifier is a string of characters containing the name of
 the bit.
 The string is terminated by either the bit number at the start of the next