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