diff options
author | Evan Lojewski <github@meklort.com> | 2020-09-21 21:49:16 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-21 21:49:16 -0600 |
commit | adb43b87eefaa10d569159e1db2a77ea27d6db8d (patch) | |
tree | e6067878d7f140ba556a49c24b385377c248c8d9 | |
parent | 7d063a442b067e1b80a38146acc8da59bdeb67c1 (diff) | |
download | bcm5719-ortega-adb43b87eefaa10d569159e1db2a77ea27d6db8d.tar.gz bcm5719-ortega-adb43b87eefaa10d569159e1db2a77ea27d6db8d.zip |
utils: Cleanup error messages when a pci device could not be opened. (#107)
-rw-r--r-- | utils/apeconsole/main.cpp | 2 | ||||
-rw-r--r-- | utils/bcmflash/main.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/apeconsole/main.cpp b/utils/apeconsole/main.cpp index 64e672a..35601b6 100644 --- a/utils/apeconsole/main.cpp +++ b/utils/apeconsole/main.cpp @@ -106,7 +106,7 @@ int main(int argc, char const *argv[]) if (!initHAL(NULL, options.get("function"))) { - cerr << "Unable to locate pci device with function " << options["function"] << " for the debug console." << endl; + cerr << "Unable to locate pci device with function " << options["function"] << endl; exit(-1); } diff --git a/utils/bcmflash/main.cpp b/utils/bcmflash/main.cpp index caa8ee0..070cb60 100644 --- a/utils/bcmflash/main.cpp +++ b/utils/bcmflash/main.cpp @@ -179,7 +179,7 @@ int main(int argc, char const *argv[]) { if (!initHAL(NULL, options.get("function"))) { - cerr << "Unable to locate pci device with function " << options["function"] << " for the debug console." << endl; + cerr << "Unable to locate pci device with function " << options["function"] << endl; exit(-1); } |