summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-03-21 14:08:36 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-03-21 14:08:36 +0000
commit9bff2f09f51395f780ef1156079a253a310ebd19 (patch)
treef5470eb4c4ba03c4dd86e3708a8dc2d47708d6fd
parent410ab1be5b02e4a19ee7123ae606c19dee00f629 (diff)
Use proper KNF in code example; d@
-rw-r--r--share/man/man3/stdarg.34
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man3/stdarg.3 b/share/man/man3/stdarg.3
index 6bdba6f39d6..45120f09e82 100644
--- a/share/man/man3/stdarg.3
+++ b/share/man/man3/stdarg.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: stdarg.3,v 1.5 2000/03/19 19:25:25 aaron Exp $
+.\" $OpenBSD: stdarg.3,v 1.6 2000/03/21 14:08:35 aaron Exp $
.\" $NetBSD: stdarg.3,v 1.3 1994/11/30 15:24:37 jtc Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
@@ -157,7 +157,7 @@ void foo(char *fmt, ...)
va_start(ap, fmt);
while (*fmt)
- switch(*fmt++) {
+ switch (*fmt++) {
case 's': /* string */
s = va_arg(ap, char *);
printf("string %s\en", s);