git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5158e8c
)
rx-varargs-20081003
author
Jeffrey Altman
<jaltman@secure-endpoints.com>
Sat, 4 Oct 2008 05:59:32 +0000 (
05:59
+0000)
committer
Jeffrey Altman
<jaltman@secure-endpoints.com>
Sat, 4 Oct 2008 05:59:32 +0000 (
05:59
+0000)
LICENSE MIT
call va_start on Windows
src/rx/rx.c
patch
|
blob
|
history
diff --git
a/src/rx/rx.c
b/src/rx/rx.c
index
8647a47
..
7f706ff
100644
(file)
--- a/
src/rx/rx.c
+++ b/
src/rx/rx.c
@@
-6343,6
+6343,8
@@
rxi_DebugPrint(char *format, ...)
char tformat[256];
size_t len;
+ va_start(ap, format);
+
len = _snprintf(tformat, sizeof(tformat), "tid[%d] %s", GetCurrentThreadId(), format);
if (len > 0) {