summaryrefslogtreecommitdiff
path: root/src/pal/tests/palsuite/miscellaneous
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2015-10-19 17:49:57 -0700
committerJan Kotas <jkotas@microsoft.com>2015-10-19 17:49:57 -0700
commit27d9deab63ecedd2e2cf12fb74e25175f8bd300b (patch)
tree04fd366f31273c55bce30510a07ddd51abdaa72a /src/pal/tests/palsuite/miscellaneous
parent3015ff7afb4936a1c5c5856daa4e3482e6b390a9 (diff)
downloadcoreclr-27d9deab63ecedd2e2cf12fb74e25175f8bd300b.tar.gz
coreclr-27d9deab63ecedd2e2cf12fb74e25175f8bd300b.tar.bz2
coreclr-27d9deab63ecedd2e2cf12fb74e25175f8bd300b.zip
Delete remaining vestiges of PAL networking support
Diffstat (limited to 'src/pal/tests/palsuite/miscellaneous')
-rw-r--r--src/pal/tests/palsuite/miscellaneous/FormatMessageW/test6/test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test6/test.c b/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test6/test.c
index 7404b6512b..551523e396 100644
--- a/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test6/test.c
+++ b/src/pal/tests/palsuite/miscellaneous/FormatMessageW/test6/test.c
@@ -43,13 +43,13 @@ int __cdecl main(int argc, char *argv[]) {
ERROR_SUCCESS (0L) is normally returned by GetLastError,
But, the ERROR_SUCCESS is removed from messages for Unix based Systems
To ensure that we have some information into the buffer we are using the message
- identifier value 10093L (WSANOTINITIALISED)
+ identifier value 2L (ERROR_FILE_NOT_FOUND)
*/
ReturnResult = FormatMessage(
FORMAT_MESSAGE_FROM_SYSTEM |
FORMAT_MESSAGE_ALLOCATE_BUFFER, /* source and processing options */
NULL, /* message source */
- 10093L, /* message identifier */
+ 2L, /* message identifier */
0, /* language identifier */
(LPWSTR)&OutBuffer, /* message buffer */
0, /* maximum size of message buffer */
@@ -65,7 +65,7 @@ int __cdecl main(int argc, char *argv[]) {
if(wcslen(OutBuffer) <= 0)
{
Fail("ERROR: There are no characters in the buffer, and when the "
- "FORMAT_MESSAGE_FROM_SYSTEM flag is used with WSANOTINITIALISED error, "
+ "FORMAT_MESSAGE_FROM_SYSTEM flag is used with ERROR_FILE_NOT_FOUND error, "
"something should be put into the buffer.");
}