public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] printf.3: Fix wording for the 0 flag with given precision
@ 2023-03-31 14:33 Vincent Lefevre
  2023-03-31 19:35 ` Alejandro Colomar
  0 siblings, 1 reply; 4+ messages in thread
From: Vincent Lefevre @ 2023-03-31 14:33 UTC (permalink / raw)
  To: Michael Kerrisk, Alejandro Colomar, linux-man; +Cc: Vincent Lefevre

When a precision is given, the 0 flag is ignored only for integer
conversions, not for all numeric conversions.

Signed-off-by: Vincent Lefevre <vincent@vinc17.net>
---
 man3/printf.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/printf.3 b/man3/printf.3
index 790ebf4d8..b90a71293 100644
--- a/man3/printf.3
+++ b/man3/printf.3
@@ -324,7 +324,7 @@ and
 flags both appear, the
 .B \&0
 flag is ignored.
-If a precision is given with a numeric conversion
+If a precision is given with an integer conversion
 .RB ( d ,
 .BR i ,
 .BR o ,
-- 
2.40.0


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

end of thread, other threads:[~2023-04-01 14:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-31 14:33 [PATCH] printf.3: Fix wording for the 0 flag with given precision Vincent Lefevre
2023-03-31 19:35 ` Alejandro Colomar
2023-04-01  1:46   ` Vincent Lefevre
2023-04-01 14:21     ` Alejandro Colomar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox