summaryrefslogtreecommitdiff
path: root/utils/regtools/headergen_v2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/regtools/headergen_v2.cpp')
-rw-r--r--utils/regtools/headergen_v2.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/regtools/headergen_v2.cpp b/utils/regtools/headergen_v2.cpp
index bc056aaeb5..22a99b7df4 100644
--- a/utils/regtools/headergen_v2.cpp
+++ b/utils/regtools/headergen_v2.cpp
@@ -87,12 +87,12 @@ void print_context(const error_context_t& ctx)
87{ 87{
88 for(size_t j = 0; j < ctx.count(); j++) 88 for(size_t j = 0; j < ctx.count(); j++)
89 { 89 {
90 error_t e = ctx.get(j); 90 err_t e = ctx.get(j);
91 switch(e.level()) 91 switch(e.level())
92 { 92 {
93 case error_t::INFO: printf("[INFO]"); break; 93 case err_t::INFO: printf("[INFO]"); break;
94 case error_t::WARNING: printf("[WARN]"); break; 94 case err_t::WARNING: printf("[WARN]"); break;
95 case error_t::FATAL: printf("[FATAL]"); break; 95 case err_t::FATAL: printf("[FATAL]"); break;
96 default: printf("[UNK]"); break; 96 default: printf("[UNK]"); break;
97 } 97 }
98 if(e.location().size() != 0) 98 if(e.location().size() != 0)