summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-01-23 22:27:22 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2017-01-24 15:34:20 +0100
commita1d1832049146925400b57c4cd81b0739b674971 (patch)
treee7d22466fb783772f0a71cd9d222f0421468a486
parent30ac37b20b63f468aff234639bdba7ad73f02b40 (diff)
downloadrockbox-a1d1832.tar.gz
rockbox-a1d1832.tar.bz2
rockbox-a1d1832.zip
hwstub: be more quiet about register description loading failure
Change-Id: I0edbb838022b71485179edec7361a6c554a1ab11
-rw-r--r--utils/hwstub/tools/hwstub_shell.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/hwstub/tools/hwstub_shell.cpp b/utils/hwstub/tools/hwstub_shell.cpp
index 347793df86..a852e0f515 100644
--- a/utils/hwstub/tools/hwstub_shell.cpp
+++ b/utils/hwstub/tools/hwstub_shell.cpp
@@ -1349,7 +1349,8 @@ void load_std_desc(std::vector< soc_desc::soc_t >& socs)
printf("Cannot load description file '%s'\n", file.c_str());
socs.pop_back();
}
- print_context(file, ctx);
+ if(!g_quiet)
+ print_context(file, ctx);
}
closedir(dir);
}
@@ -1430,7 +1431,8 @@ int main(int argc, char **argv)
printf("Cannot load description file '%s'\n", argv[i]);
socs.pop_back();
}
- print_context(argv[i], ctx);
+ if(!g_quiet)
+ print_context(argv[i], ctx);
}
/* load standard desc files */
load_std_desc(socs);