diff mbox series

manual: Add missing % in int conversion list

Message ID 20221024114808.3120-1-jwilk@jwilk.net
State New
Headers show
Series manual: Add missing % in int conversion list | expand

Commit Message

Jakub Wilk Oct. 24, 2022, 11:48 a.m. UTC
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
---
 manual/stdio.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Joseph Myers Oct. 24, 2022, 7:27 p.m. UTC | #1
On Mon, 24 Oct 2022, Jakub Wilk wrote:

> @@ -1912,7 +1912,7 @@ This section describes the options for the @samp{%d}, @samp{%i},
>  specifications.  These conversions print integers in various formats.
>  
>  The @samp{%d} and @samp{%i} conversion specifications both print an
> -@code{int} argument as a signed decimal number; while @samp{b}, @samp{%o},
> +@code{int} argument as a signed decimal number; while @samp{%b}, @samp{%o},

OK.
diff mbox series

Patch

diff --git a/manual/stdio.texi b/manual/stdio.texi
index 753c50920d..4aa1a2bc2d 100644
--- a/manual/stdio.texi
+++ b/manual/stdio.texi
@@ -1912,7 +1912,7 @@  This section describes the options for the @samp{%d}, @samp{%i},
 specifications.  These conversions print integers in various formats.
 
 The @samp{%d} and @samp{%i} conversion specifications both print an
-@code{int} argument as a signed decimal number; while @samp{b}, @samp{%o},
+@code{int} argument as a signed decimal number; while @samp{%b}, @samp{%o},
 @samp{%u}, and @samp{%x} print the argument as an unsigned binary, octal,
 decimal, or hexadecimal number (respectively).  The @samp{%X} conversion
 specification is just like @samp{%x} except that it uses the characters