summaryrefslogtreecommitdiff
path: root/ldso/ldso/dl-elf.c
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2009-12-23 15:00:55 -0500
committerAustin Foxley <austinf@cetoncorp.com>2009-12-23 12:10:50 -0800
commitb2c9cb1927c5ed40c4bf2001abb0077bc5afb90b (patch)
treebc1d886f1c7a72e88d09f2eea0cef3b13e3ae549 /ldso/ldso/dl-elf.c
parent23528282b771d1af3df0fa17f1e909ad3b663f59 (diff)
Make _dl_dprintf buf non-static to avoid multithreading bugs.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'ldso/ldso/dl-elf.c')
-rw-r--r--ldso/ldso/dl-elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/dl-elf.c b/ldso/ldso/dl-elf.c
index a0db63750..6b64f3e04 100644
--- a/ldso/ldso/dl-elf.c
+++ b/ldso/ldso/dl-elf.c
@@ -894,7 +894,7 @@ void _dl_dprintf(int fd, const char *fmt, ...)
#endif
va_list args;
char *start, *ptr, *string;
- static char *buf;
+ char *buf;
if (!fmt)
return;