aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/driver.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/driver.cc')
-rw-r--r--kernel/driver.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/driver.cc b/kernel/driver.cc
index 2917586ea..74f53901e 100644
--- a/kernel/driver.cc
+++ b/kernel/driver.cc
@@ -558,6 +558,9 @@ int main(int argc, char **argv)
fprintf(f, "\n");
}
+ if (log_expect_no_warnings && log_warnings_count)
+ log_error("Warnings: %d unique messages, %d total\n", GetSize(log_warnings), log_warnings_count);
+
if (print_stats)
{
std::string hash = log_hasher->final().substr(0, 10);