@cryptotaxi247 / netdata-1 / commits / 7d3e6f94f

fixed typo in debug logging that resulted in crash

Costa Tsaousis (ktsaou) committed Jun 11, 2016 at 11:52 UTC 7d3e6f94f421b1f2c509c56ca2cd2d32fa1bed34
1 file changed +1 -1
src/log.c
+1 -1
@@ -128,7 +128,7 @@ void debug_int( const char *file, const char *function, const unsigned long line
128 log_date(stdout);
129 va_start( args, fmt );
130 printf("DEBUG (%04lu@%-10.10s:%-15.15s): %s: ", line, file, function, program_name);
131 - printf(fmt, args);
131 + vprintf(fmt, args);
132 va_end( args );
133 putchar('\n');
134