Commit d3c987cf authored by Claes's avatar Claes Committed by Esteban Blanc

tst log filepointer zeroed

parent 8a04a63c
......@@ -103,7 +103,7 @@ void tst_log::vlog(const char severity, const char *format, ...)
fprintf(m_fp, "%c %s %s, %s\n", severity, timstr, m_category, msg);
}
tst_log::tst_log(pwr_tStatus *sts, const char *category, const char *filename)
tst_log::tst_log(pwr_tStatus *sts, const char *category, const char *filename) : m_fp(0)
{
*sts = TST__SUCCESS;
strncpy(m_category, category, sizeof(m_category));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment