diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-06-07 12:41:09 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2019-06-07 12:41:09 +0200 |
commit | 211d85cfcc1ae701bb9392347bcbb9750e3045b0 (patch) | |
tree | ba04c46a5db3cf2f41ca6545d1f6e930b354369c /kernel | |
parent | a3bbc5365bc8ed411ab437a6baea5596531933a8 (diff) | |
download | yosys-211d85cfcc1ae701bb9392347bcbb9750e3045b0.tar.gz yosys-211d85cfcc1ae701bb9392347bcbb9750e3045b0.tar.bz2 yosys-211d85cfcc1ae701bb9392347bcbb9750e3045b0.zip |
Fixes and cleanups in AST_TECALL handling
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/log.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/log.cc b/kernel/log.cc index 9ce952cae..a7820950c 100644 --- a/kernel/log.cc +++ b/kernel/log.cc @@ -277,7 +277,7 @@ void log_file_warning(const std::string &filename, int lineno, va_list ap; va_start(ap, format); std::string prefix = stringf("%s:%d: Warning: ", - filename.c_str(), lineno); + filename.c_str(), lineno); logv_warning_with_prefix(prefix.c_str(), format, ap); va_end(ap); } @@ -287,9 +287,9 @@ void log_file_info(const std::string &filename, int lineno, { va_list ap; va_start(ap, format); - std::string prefix = stringf("%s:%d: Info: ", - filename.c_str(), lineno); - logv_warning_with_prefix(prefix.c_str(), format, ap); + std::string fmt = stringf("%s:%d: Info: %s", + filename.c_str(), lineno, format); + logv(fmt.c_str(), ap); va_end(ap); } |