summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2020-04-11 20:34:40 -0600
committerGitHub <noreply@github.com>2020-04-11 20:34:40 -0600
commita985bfd6cdbe977e02c72de85f958e74ddf372e7 (patch)
tree49fca1761d01f1ed258738b8772df7684e4338e6 /utils
parentdc9705b4c65aa6b059a2f6beaf4d370620e583b7 (diff)
downloadbcm5719-ortega-a985bfd6cdbe977e02c72de85f958e74ddf372e7.tar.gz
bcm5719-ortega-a985bfd6cdbe977e02c72de85f958e74ddf372e7.zip
coverity: Fix issues found with coverity (#78)
Diffstat (limited to 'utils')
-rw-r--r--utils/bcmregtool/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/bcmregtool/main.cpp b/utils/bcmregtool/main.cpp
index 7891dc7..ce5b162 100644
--- a/utils/bcmregtool/main.cpp
+++ b/utils/bcmregtool/main.cpp
@@ -435,7 +435,7 @@ int main(int argc, char const *argv[])
if (options.is_set("pc"))
{
uint32_t pc = stoi(options["pc"], nullptr, 0);
- cout << "Updating PC to " << std::hex << pc << endl;
+ cout << "Updating PC to 0x" << std::hex << pc << std::setbase(0) << endl;
RegDEVICERxRiscMode_t mode;
mode.r32 = 0;
mode.bits.Halt = 1;
OpenPOWER on IntegriCloud