diff options
author | Ludovic Henry <ludovic@xamarin.com> | 2016-12-03 00:52:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-03 00:52:02 +0300 |
commit | 2cc94a2eefdc482878a79da13f42af8d76f9dc71 (patch) | |
tree | 06bbb71adc18b76ca7d2329a842decbf43bb5ffa /mcs/class/System/System.Diagnostics | |
parent | 0a65f41687b5ce0572549c457b0d4ef5ea08fa5d (diff) |
[io-layer] Remove FormatMessage (#4055)
Diffstat (limited to 'mcs/class/System/System.Diagnostics')
-rw-r--r-- | mcs/class/System/System.Diagnostics/Process.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System/System.Diagnostics/Process.cs b/mcs/class/System/System.Diagnostics/Process.cs index 74f1990f516..863479df5fc 100644 --- a/mcs/class/System/System.Diagnostics/Process.cs +++ b/mcs/class/System/System.Diagnostics/Process.cs @@ -696,7 +696,7 @@ namespace System.Diagnostics // if (!CreateProcess_internal (startInfo, stdin_read, stdout_write, stderr_write, ref proc_info)) { throw new Win32Exception (-proc_info.pid, "ApplicationName='" + startInfo.FileName + "', CommandLine='" + startInfo.Arguments + - "', CurrentDirectory='" + startInfo.WorkingDirectory + "', Native error= " + Win32Exception.W32ErrorMessage (-proc_info.pid)); + "', CurrentDirectory='" + startInfo.WorkingDirectory + "', Native error= " + Win32Exception.GetErrorMessage (-proc_info.pid)); } } catch { if (startInfo.RedirectStandardInput) { |