]> git.itanic.dy.fi Git - rrdd/blobdiff - debug.c
debug: Remove pid number from debug prints
[rrdd] / debug.c
diff --git a/debug.c b/debug.c
index 437ce5eb87f02963da2639e1e44b58023b741f16..201f7ef2d1a233cdaa70e877bee2fdaf19448224 100644 (file)
--- a/debug.c
+++ b/debug.c
@@ -60,9 +60,8 @@ void print_trace(const char *file, int line, int color, int l,
        pthread_getname_np(pthread_self(), thread_name, sizeof(thread_name));
 
        ret = snprintf(all_trace, sizeof(all_trace),
-               "%s%s [%5d] %s %s:%d %s %s",
+               "%s%s [%s] %s:%d %s %s",
                color_str, time,
-               getpid(),
                thread_name,
                file, line, normal_color, trace);