aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/os/log.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-09-28 16:22:52 +0000
committermarha <marha@users.sourceforge.net>2009-09-28 16:22:52 +0000
commit8afe8c584706f8a346d9d6a29b408b27b945ebc6 (patch)
tree093621cd907a13ae8b83fa67956fedfa2be43b5c /xorg-server/os/log.c
parent424b9c89e78f863280e61968fb1fdc694072cced (diff)
downloadvcxsrv-8afe8c584706f8a346d9d6a29b408b27b945ebc6.tar.gz
vcxsrv-8afe8c584706f8a346d9d6a29b408b27b945ebc6.tar.bz2
vcxsrv-8afe8c584706f8a346d9d6a29b408b27b945ebc6.zip
Change buffer from static to local to avoid problems in multithreaded tracing.
Diffstat (limited to 'xorg-server/os/log.c')
-rw-r--r--xorg-server/os/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/os/log.c b/xorg-server/os/log.c
index 75b3375c0..01bc4fe53 100644
--- a/xorg-server/os/log.c
+++ b/xorg-server/os/log.c
@@ -262,7 +262,7 @@ LogSetParameter(LogParameter param, int value)
void
LogVWrite(int verb, const char *f, va_list args)
{
- static char tmpBuffer[1024];
+ char tmpBuffer[1024];
int len = 0;
/*