summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2020-07-10 17:04:18 +0000
committerderaadt <deraadt@openbsd.org>2020-07-10 17:04:18 +0000
commitfc72f1bd953fd972e97f29fcde7eea07c3a5550a (patch)
treefe25020ce637ec43dc9d4240fd08f0248fcc4168
parentClear FPU state if we try to restore the state when the process didn't use (diff)
downloadwireguard-openbsd-fc72f1bd953fd972e97f29fcde7eea07c3a5550a.tar.xz
wireguard-openbsd-fc72f1bd953fd972e97f29fcde7eea07c3a5550a.zip
adjust %n description to vaguely say "pointer", becuase the following
list of "[size]n" includes "n" on it's own, thereby the "int" case is described correctly. ok schwarze
-rw-r--r--lib/libc/stdio/printf.310
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3
index 3ca5645f9ff..8ab134eb315 100644
--- a/lib/libc/stdio/printf.3
+++ b/lib/libc/stdio/printf.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: printf.3,v 1.86 2020/07/10 14:43:18 schwarze Exp $
+.\" $OpenBSD: printf.3,v 1.87 2020/07/10 17:04:18 deraadt Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -576,9 +576,11 @@ supporting the same modifiers.
.Cm n
.Sm on
.Pp
-The number of bytes written so far is stored into the signed integer
-variable indicated by the pointer argument.
-No argument is converted.
+The number of bytes written so far is stored at the variable indicated
+by the pointer argument.
+The
+.Cm %n
+conversion specifier produces no output.
.Pp
Make sure the
.Ar size