diff options
-rw-r--r-- | src/libthread/thread.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/libthread/thread.c b/src/libthread/thread.c index 4d55b06f..da4afe12 100644 --- a/src/libthread/thread.c +++ b/src/libthread/thread.c @@ -26,11 +26,8 @@ _threaddebug(char *fmt, ...) char *p; static int fd = -1; -return; - va_start(arg, fmt); - vfprint(1, fmt, arg); - va_end(arg); -return; + if(_threaddebuglevel == 0) + return; if(fd < 0){ p = strrchr(argv0, '/'); |