summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/printf.3
diff options
context:
space:
mode:
authorbentley <bentley@openbsd.org>2015-02-28 21:51:56 +0000
committerbentley <bentley@openbsd.org>2015-02-28 21:51:56 +0000
commit9dbd696514ef94fc24ee622023bb055d94c78640 (patch)
treecc83a924c252f976523f2306273efaa262692a9c /lib/libc/stdio/printf.3
parentMove consinit() out of the bowels of the zs driver to its own file, in (diff)
downloadwireguard-openbsd-9dbd696514ef94fc24ee622023bb055d94c78640.tar.xz
wireguard-openbsd-9dbd696514ef94fc24ee622023bb055d94c78640.zip
Reduce usage of predefined strings in manpages.
Predefined strings are not very portable across troff implementations, and they make the source much harder to read. Usually the intended character can be written directly. No output changes, except for two instances where the incorrect escape was used in the first place. tweaks + ok schwarze@
Diffstat (limited to 'lib/libc/stdio/printf.3')
-rw-r--r--lib/libc/stdio/printf.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3
index 10e4a2cd9db..76a260f78ea 100644
--- a/lib/libc/stdio/printf.3
+++ b/lib/libc/stdio/printf.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: printf.3,v 1.71 2015/01/13 14:02:30 schwarze Exp $
+.\" $OpenBSD: printf.3,v 1.72 2015/02/28 21:51:57 bentley Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -33,7 +33,7 @@
.\"
.\" @(#)printf.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: January 13 2015 $
+.Dd $Mdocdate: February 28 2015 $
.Dt PRINTF 3
.Os
.Sh NAME
@@ -451,7 +451,7 @@ The
.Li double
argument is rounded and converted in the style
.Sm off
-.Pf [\-]d Cm \&. No ddd Cm e No \*(Pmdd
+.Pf [\-]d Cm \&. No ddd Cm e No \(+-dd
.Sm on
where there is one digit before the
decimal-point character
@@ -542,7 +542,7 @@ The
.Li double
argument is rounded and converted to hexadecimal notation in the style
.Sm off
-.Pf [\-]0xh Cm \&. No hhh Cm p No [\*(Pm]d
+.Pf [\-]0xh Cm \&. No hhh Cm p No [\(+-]d
.Sm on
where the number of digits after the hexadecimal-point character
is equal to the precision specification.