]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
printf.3: Fix wording for the 0 flag with given precision
authorVincent Lefevre <vincent@vinc17.net>
Fri, 31 Mar 2023 14:33:32 +0000 (16:33 +0200)
committerAlejandro Colomar <alx@kernel.org>
Sat, 1 Apr 2023 14:21:07 +0000 (16:21 +0200)
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>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man3/printf.3

index 790ebf4d8ff61b8dfe2d330eef3d43d8dc25fb25..b90a712938cba7ec73f04ca1b0d388ea44092e3b 100644 (file)
@@ -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 ,