From 3b7e7cb535582542b1dbebd87348a0fbf4f344bb Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sun, 6 Nov 2016 21:59:50 +0100 Subject: hwstub_shell: fix a horrible bug Change-Id: I4ac259e6cd7b707ca725c6ba1c526f5aeed56b71 --- utils/hwstub/tools/hwstub_shell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- cgit v1.2.3