diff options
-rw-r--r-- | utils/hwstub/tools/hwstub_shell.cpp | 2 |
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"; |