summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-07-07 00:09:11 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-07-07 00:09:11 +0000
commit3758a8f1045c7c60247fe3f95010de9febd75f93 (patch)
tree41e11dc3ce5619b6903a4baa42136c384d2504b8 /lib/libc
parentb5c7216d745d2fba4fb4d0b0479c40146c21aeaa (diff)
Insert missing semi-colon.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdio/printf.34
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.