Index: lldb/trunk/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp =================================================================== --- lldb/trunk/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp +++ lldb/trunk/source/Plugins/Process/Windows/Common/NativeProcessWindows.cpp @@ -177,9 +177,9 @@ else LLDB_LOG(log, "Detaching process error: {0}", error); } else { - error.SetErrorStringWithFormat("error: process {0} in state = {1}, but " - "cannot detach it in this state.", - GetID(), state); + error.SetErrorStringWithFormatv("error: process {0} in state = {1}, but " + "cannot detach it in this state.", + GetID(), state); LLDB_LOG(log, "error: {0}", error); } return error; Index: lldb/trunk/source/Plugins/Process/Windows/Common/ProcessWindows.cpp =================================================================== --- lldb/trunk/source/Plugins/Process/Windows/Common/ProcessWindows.cpp +++ lldb/trunk/source/Plugins/Process/Windows/Common/ProcessWindows.cpp @@ -170,9 +170,9 @@ else LLDB_LOG(log, "Detaching process error: {0}", error); } else { - error.SetErrorStringWithFormat("error: process {0} in state = {1}, but " - "cannot detach it in this state.", - GetID(), private_state); + error.SetErrorStringWithFormatv("error: process {0} in state = {1}, but " + "cannot detach it in this state.", + GetID(), private_state); LLDB_LOG(log, "error: {0}", error); } return error;