diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/wrapper/wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapper/wrapper.c b/src/wrapper/wrapper.c index 9b2ed96..2767114 100644 --- a/src/wrapper/wrapper.c +++ b/src/wrapper/wrapper.c @@ -23,7 +23,7 @@ verbose_log(const char *fmt, ...) pthread_mutex_lock(&mutex); va_list ap; va_start(ap, fmt); - char buf[1024]; + static char buf[1024]; vsnprintf(buf, sizeof(buf), fmt, ap); va_end(ap); fprintf(stderr, "%lu: %s\n", pthread_self(), buf); |