public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] manual: Add missing % in int conversion list
@ 2022-10-24 11:48 Jakub Wilk
  2022-10-24 19:27 ` Joseph Myers
  0 siblings, 1 reply; 2+ messages in thread
From: Jakub Wilk @ 2022-10-24 11:48 UTC (permalink / raw)
  To: libc-alpha; +Cc: Joseph Myers

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
---
 manual/stdio.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] manual: Add missing % in int conversion list
  2022-10-24 11:48 [PATCH] manual: Add missing % in int conversion list Jakub Wilk
@ 2022-10-24 19:27 ` Joseph Myers
  0 siblings, 0 replies; 2+ messages in thread
From: Joseph Myers @ 2022-10-24 19:27 UTC (permalink / raw)
  To: Jakub Wilk; +Cc: libc-alpha

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.

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-24 19:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-24 11:48 [PATCH] manual: Add missing % in int conversion list Jakub Wilk
2022-10-24 19:27 ` Joseph Myers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).