Author: cbieneman
Date: Tue Apr 18 16:35:26 2017
New Revision: 300606

URL: http://llvm.org/viewvc/llvm-project?rev=300606&view=rev
Log:
Fixing error on Android build (-Werror)

This is fallout from r300579.

Modified:
    lldb/trunk/source/Host/common/UDPSocket.cpp

Modified: lldb/trunk/source/Host/common/UDPSocket.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/UDPSocket.cpp?rev=300606&r1=300605&r2=300606&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/UDPSocket.cpp (original)
+++ lldb/trunk/source/Host/common/UDPSocket.cpp Tue Apr 18 16:35:26 2017
@@ -122,11 +122,11 @@ Error UDPSocket::Connect(llvm::StringRef
 }
 
 Error UDPSocket::Listen(llvm::StringRef name, int backlog) {
-  return Error(g_not_supported_error);
+  return Error("%s", g_not_supported_error);
 }
 
 Error UDPSocket::Accept(Socket *&socket) {
-  return Error(g_not_supported_error);
+  return Error("%s", g_not_supported_error);
 }
 
 Error UDPSocket::CreateSocket() {


_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to