Skip to content

Commit

Permalink
logger: Adjust print
Browse files Browse the repository at this point in the history
  • Loading branch information
povik committed Nov 4, 2024
1 parent 7aa3fda commit 35a20da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion passes/cmds/logger.cc
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ struct LoggerPass : public Pass {
log_cmd_error("Number of expected messages must be higher then 0 !\n");
if (type=="error" && count!=1)
log_cmd_error("Expected error message occurrences must be 1 !\n");
log("Added regex '%s' for warnings to expected %s list.\n", pattern.c_str(), type.c_str());
log("Added regex '%s' to expected %s messages list.\n",
pattern.c_str(), type.c_str());
try {
if (type == "error")
log_expect_error[pattern] = LogExpectedItem(YS_REGEX_COMPILE(pattern), count);
Expand Down

0 comments on commit 35a20da

Please sign in to comment.