projects
/
yosys.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "Merge remote-tracking branch 'origin/eddie/shregmap_improve' into xc7mux"
[yosys.git]
/
kernel
/
log.cc
diff --git
a/kernel/log.cc
b/kernel/log.cc
index 9ce952caea8885776cdb3fead5bb5574cfd410f6..a7820950c9dcdc3f4ea45b240931af5c3d7b02b6 100644
(file)
--- 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: ",
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);
}
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);
{
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);
}
va_end(ap);
}