Changed error message

This commit is contained in:
Miodrag Milanovic 2022-02-18 15:06:49 +01:00
parent 41754b4207
commit 5f918803de
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ FstData::FstData(std::string filename) : ctx(nullptr)
const std::vector<std::string> g_units = { "s", "ms", "us", "ns", "ps", "fs", "as", "zs" }; const std::vector<std::string> g_units = { "s", "ms", "us", "ns", "ps", "fs", "as", "zs" };
ctx = (fstReaderContext *)fstReaderOpen(filename.c_str()); ctx = (fstReaderContext *)fstReaderOpen(filename.c_str());
if (!ctx) if (!ctx)
log_error("Error opening '%s'\n", filename.c_str()); log_error("Error opening '%s' as FST file\n", filename.c_str());
int scale = (int)fstReaderGetTimescale(ctx); int scale = (int)fstReaderGetTimescale(ctx);
timescale = pow(10.0, scale); timescale = pow(10.0, scale);
timescale_str = ""; timescale_str = "";