summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Platform/Android
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/Platform/Android')
-rw-r--r--lldb/source/Plugins/Platform/Android/AdbClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Platform/Android/AdbClient.cpp b/lldb/source/Plugins/Platform/Android/AdbClient.cpp
index 79ad8f52d64..7c9c70ac845 100644
--- a/lldb/source/Plugins/Platform/Android/AdbClient.cpp
+++ b/lldb/source/Plugins/Platform/Android/AdbClient.cpp
@@ -360,7 +360,7 @@ Error AdbClient::internalShell(const char *command, uint32_t timeout_ms,
StreamString adb_command;
adb_command.Printf("shell:%s", command);
- error = SendMessage(adb_command.GetData(), false);
+ error = SendMessage(adb_command.GetString(), false);
if (error.Fail())
return error;
OpenPOWER on IntegriCloud