]> arthur.barton.de Git - netdata.git/commitdiff
fixed typo in debug logging that resulted in crash
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sat, 11 Jun 2016 08:52:21 +0000 (11:52 +0300)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sat, 11 Jun 2016 08:52:21 +0000 (11:52 +0300)
src/log.c

index 778085ec2824a5194cf24a819fcb296f13bc4075..ae10ae917ac8c8f1189d52bfca9d774b8538fa2c 100644 (file)
--- a/src/log.c
+++ b/src/log.c
@@ -128,7 +128,7 @@ void debug_int( const char *file, const char *function, const unsigned long line
        log_date(stdout);
        va_start( args, fmt );
        printf("DEBUG (%04lu@%-10.10s:%-15.15s): %s: ", line, file, function, program_name);
-       printf(fmt, args);
+       vprintf(fmt, args);
        va_end( args );
        putchar('\n');