Fix broken write to log files.

This commit is contained in:
Stephen Williams 2015-06-03 14:32:04 -07:00
parent fbedf4ae22
commit 05d591ccd6
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ extern "C" void vpip_mcd_rawwrite(PLI_UINT32 mcd, const char*buf, size_t cnt)
fwrite(buf, 1, cnt, mcd_table[idx].fp);
if (idx == 0 && logfile)
fwrite(buf, 1, cnt, mcd_table[idx].fp);
fwrite(buf, 1, cnt, logfile);
}
}