summaryrefslogtreecommitdiffstats
path: root/utils/hwstub/tools/hwstub_shell.cpp
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2016-10-22 15:55:33 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2016-10-22 15:55:33 +0200
commitfed083cf06628b8912e3a355ad2c7c671e208ce3 (patch)
tree580954b44ce2f4e37d2a0c2965b280027f45488c /utils/hwstub/tools/hwstub_shell.cpp
parent0b01ca69e073c3e140f6e819be62665ad6d513ae (diff)
downloadrockbox-fed083cf06628b8912e3a355ad2c7c671e208ce3.tar.gz
rockbox-fed083cf06628b8912e3a355ad2c7c671e208ce3.zip
hwstub: fix compile and linking ordering
Change-Id: I0acd3db2f644f4521da715d4931315bdb7548eae
Diffstat (limited to 'utils/hwstub/tools/hwstub_shell.cpp')
-rw-r--r--utils/hwstub/tools/hwstub_shell.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/hwstub/tools/hwstub_shell.cpp b/utils/hwstub/tools/hwstub_shell.cpp
index 88cb1231fb..4cd5953a50 100644
--- a/utils/hwstub/tools/hwstub_shell.cpp
+++ b/utils/hwstub/tools/hwstub_shell.cpp
@@ -74,12 +74,12 @@ void print_context(const std::string& file, const soc_desc::error_context_t& ctx
{
for(size_t j = 0; j < ctx.count(); j++)
{
- soc_desc::error_t e = ctx.get(j);
+ soc_desc::err_t e = ctx.get(j);
switch(e.level())
{
- case soc_desc::error_t::INFO: printf("[INFO]"); break;
- case soc_desc::error_t::WARNING: printf("[WARN]"); break;
- case soc_desc::error_t::FATAL: printf("[FATAL]"); break;
+ case soc_desc::err_t::INFO: printf("[INFO]"); break;
+ case soc_desc::err_t::WARNING: printf("[WARN]"); break;
+ case soc_desc::err_t::FATAL: printf("[FATAL]"); break;
default: printf("[UNK]"); break;
}
if(e.location().size() != 0)