summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2016-11-06 21:59:50 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2016-11-06 21:59:50 +0100
commit3b7e7cb535582542b1dbebd87348a0fbf4f344bb (patch)
treeb067d8ffbd40b34c5d2a8837c970e7b18858650c
parenta2d46868e2695c85b863848792ead8c1d680f185 (diff)
downloadrockbox-3b7e7cb.tar.gz
rockbox-3b7e7cb.tar.bz2
rockbox-3b7e7cb.zip
hwstub_shell: fix a horrible bug
Change-Id: I4ac259e6cd7b707ca725c6ba1c526f5aeed56b71
-rw-r--r--utils/hwstub/tools/hwstub_shell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/hwstub/tools/hwstub_shell.cpp b/utils/hwstub/tools/hwstub_shell.cpp
index 4cd5953a50..1c39283894 100644
--- a/utils/hwstub/tools/hwstub_shell.cpp
+++ b/utils/hwstub/tools/hwstub_shell.cpp
@@ -1273,7 +1273,7 @@ void load_std_desc(std::vector< soc_desc::soc_t >& socs)
int main(int argc, char **argv)
{
- const char *dev_uri = hwstub::uri::default_uri().full_uri().c_str();
+ std::string dev_uri = hwstub::uri::default_uri().full_uri();
bool verbose = false;
const char *lua_init = "init.lua";