summaryrefslogtreecommitdiff
path: root/ACE/tests/New_Fail_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/tests/New_Fail_Test.cpp')
-rw-r--r--ACE/tests/New_Fail_Test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ACE/tests/New_Fail_Test.cpp b/ACE/tests/New_Fail_Test.cpp
index 8b8581dd136..b57f2c02cc6 100644
--- a/ACE/tests/New_Fail_Test.cpp
+++ b/ACE/tests/New_Fail_Test.cpp
@@ -128,7 +128,7 @@ run_main (int, ACE_TCHAR *[])
ACE_TEXT ("expected ENOMEM, %p (%d)\n"),
i,
ACE_TEXT ("got"),
- errno));
+ ACE_ERRNO_GET));
}
// Free the memory to try ACE_NEW_RETURN
@@ -163,7 +163,7 @@ run_main (int, ACE_TCHAR *[])
ACE_TEXT ("expected ENOMEM, %p (%d)\n"),
i,
ACE_TEXT ("got"),
- errno));
+ ACE_ERRNO_GET));
}
while (i >= 0)
delete [] blocks[i--];
@@ -196,7 +196,7 @@ run_main (int, ACE_TCHAR *[])
ACE_TEXT ("expected ENOMEM, %p (%d)\n"),
i,
ACE_TEXT ("got"),
- errno));
+ ACE_ERRNO_GET));
}
while (i >= 0)
delete [] blocks[i--];