From a1d1832049146925400b57c4cd81b0739b674971 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Mon, 23 Jan 2017 22:27:22 +0100 Subject: hwstub: be more quiet about register description loading failure Change-Id: I0edbb838022b71485179edec7361a6c554a1ab11 --- utils/hwstub/tools/hwstub_shell.cpp | 6 ++++-- 1 file 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); -- cgit v1.2.3