13 lines
377 B
Plaintext
13 lines
377 B
Plaintext
$OpenBSD: patch-vseprint_c,v 1.1 2004/02/29 19:07:34 pvalchev Exp $
|
|
--- vseprint.c.orig 2003-02-13 08:04:39.000000000 -0700
|
|
+++ vseprint.c 2004-02-28 13:15:06.000000000 -0700
|
|
@@ -29,7 +29,7 @@ vseprint(char *buf, char *e, char *fmt,
|
|
f.flush = 0;
|
|
f.farg = nil;
|
|
f.nfmt = 0;
|
|
- f.args = args;
|
|
+ va_copy(f.args, args);
|
|
dofmt(&f, fmt);
|
|
*(char*)f.to = '\0';
|
|
return f.to;
|