diff options
author | 2000-07-07 00:09:10 +0000 | |
---|---|---|
committer | 2000-07-07 00:09:10 +0000 | |
commit | 3c91343a66f5cb4d3fcacecedcc3fb854c6085e6 (patch) | |
tree | d63bd76e0c482838246fc667528322af2788aa7a /lib/libc/stdio/printf.3 | |
parent | Remove the ffs_softupdates(4) man page. The license has been changed to BSD and (diff) | |
download | wireguard-openbsd-3c91343a66f5cb4d3fcacecedcc3fb854c6085e6.tar.xz wireguard-openbsd-3c91343a66f5cb4d3fcacecedcc3fb854c6085e6.zip |
Insert missing semi-colon.
Diffstat (limited to 'lib/libc/stdio/printf.3')
-rw-r--r-- | lib/libc/stdio/printf.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3 index 100c89e0b45..6a9f4f34942 100644 --- a/lib/libc/stdio/printf.3 +++ b/lib/libc/stdio/printf.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: printf.3,v 1.28 2000/06/25 13:52:30 pjanzen Exp $ +.\" $OpenBSD: printf.3,v 1.29 2000/07/07 00:09:10 aaron Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -692,7 +692,7 @@ as an attacker can put format specifiers in that string to mangle your stack. Be sure to use the proper secure idiom: .Bd -literal -offset indent -snprintf(buffer, sizeof(buffer), "%s", string) +snprintf(buffer, sizeof(buffer), "%s", string); .Ed .Pp There is no way for printf to know the size of each argument passed. |