summaryrefslogtreecommitdiff
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-a1d1832049146925400b57c4cd81b0739b674971.tar.gz
rockbox-a1d1832049146925400b57c4cd81b0739b674971.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)
1349 printf("Cannot load description file '%s'\n", file.c_str()); 1349 printf("Cannot load description file '%s'\n", file.c_str());
1350 socs.pop_back(); 1350 socs.pop_back();
1351 } 1351 }
1352 print_context(file, ctx); 1352 if(!g_quiet)
1353 print_context(file, ctx);
1353 } 1354 }
1354 closedir(dir); 1355 closedir(dir);
1355} 1356}
@@ -1430,7 +1431,8 @@ int main(int argc, char **argv)
1430 printf("Cannot load description file '%s'\n", argv[i]); 1431 printf("Cannot load description file '%s'\n", argv[i]);
1431 socs.pop_back(); 1432 socs.pop_back();
1432 } 1433 }
1433 print_context(argv[i], ctx); 1434 if(!g_quiet)
1435 print_context(argv[i], ctx);
1434 } 1436 }
1435 /* load standard desc files */ 1437 /* load standard desc files */
1436 load_std_desc(socs); 1438 load_std_desc(socs);