summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-09-24 23:25:50 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-09-24 23:25:50 +0000
commit4d39ddd6c4e5774d79575f6908e463dc072db146 (patch)
tree6d20739539cd29a6c6278cf168f3393ee0927b58 /lib
parentdeba6acf63025e7134736825e837b012fcf602b8 (diff)
access one too far away; from claus; ok millert
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdio/vfprintf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdio/vfprintf.c b/lib/libc/stdio/vfprintf.c
index 576fe20e1ea..06991fa6244 100644
--- a/lib/libc/stdio/vfprintf.c
+++ b/lib/libc/stdio/vfprintf.c
@@ -31,7 +31,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: vfprintf.c,v 1.24 2004/09/24 21:41:14 deraadt Exp $";
+static char *rcsid = "$OpenBSD: vfprintf.c,v 1.25 2004/09/24 23:25:49 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -840,8 +840,8 @@ __find_arguments(fmt0, ap, argtable, argtablesiz)
#define ADDTYPE(type) \
((nextarg >= tablesize) ? \
__grow_type_table(&typetable, &tablesize) : 0, \
- typetable[nextarg++] = type, \
- (nextarg > tablemax) ? tablemax = nextarg : 0)
+ (nextarg > tablemax) ? tablemax = nextarg : 0,
+ typetable[nextarg++] = type)
#define ADDSARG() \
((flags&LONGINT) ? ADDTYPE(T_LONG) : \