diff options
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp index 3cd0fba95d9..3fc97295a80 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp @@ -516,7 +516,7 @@ AcceptPortFromInferior (void *arg) char pid_str[256]; ::memset (pid_str, 0, sizeof(pid_str)); ConnectionStatus status; - const size_t pid_str_len = file_conn.Read (pid_str, sizeof(pid_str), NULL, status, NULL); + const size_t pid_str_len = file_conn.Read (pid_str, sizeof(pid_str), 0, status, NULL); if (pid_str_len > 0) { int pid = atoi (pid_str); |