diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2009-12-23 15:00:55 -0500 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2009-12-23 12:10:50 -0800 |
commit | b2c9cb1927c5ed40c4bf2001abb0077bc5afb90b (patch) | |
tree | bc1d886f1c7a72e88d09f2eea0cef3b13e3ae549 /ldso | |
parent | 23528282b771d1af3df0fa17f1e909ad3b663f59 (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')
-rw-r--r-- | ldso/ldso/dl-elf.c | 2 |
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; |