diff options
Diffstat (limited to 'ACE/ace/Sbrk_Memory_Pool.cpp')
-rw-r--r-- | ACE/ace/Sbrk_Memory_Pool.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ACE/ace/Sbrk_Memory_Pool.cpp b/ACE/ace/Sbrk_Memory_Pool.cpp index 717ec52c5ae..cc7548364c8 100644 --- a/ACE/ace/Sbrk_Memory_Pool.cpp +++ b/ACE/ace/Sbrk_Memory_Pool.cpp @@ -2,7 +2,7 @@ #include "ace/OS_NS_unistd.h" #include "ace/Sbrk_Memory_Pool.h" -#include "ace/Log_Msg.h" +#include "ace/Log_Category.h" @@ -20,16 +20,16 @@ ACE_Sbrk_Memory_Pool::acquire (size_t nbytes, { ACE_TRACE ("ACE_Sbrk_Memory_Pool::acquire"); rounded_bytes = this->round_up (nbytes); - // ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("(%P|%t) acquiring more chunks, nbytes = %d, rounded_bytes = %d\n"), nbytes, rounded_bytes)); + // ACELIB_DEBUG ((LM_DEBUG, ACE_TEXT ("(%P|%t) acquiring more chunks, nbytes = %d, rounded_bytes = %d\n"), nbytes, rounded_bytes)); void *cp = ACE_OS::sbrk (rounded_bytes); if (cp == MAP_FAILED) - ACE_ERROR_RETURN ((LM_ERROR, + ACELIB_ERROR_RETURN ((LM_ERROR, "(%P|%t) cp = %u\n", cp), 0); else - // ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("(%P|%t) acquired more chunks, nbytes = %d, rounded_bytes = %d, new break = %u\n"), nbytes, rounded_bytes, cp)); + // ACELIB_DEBUG ((LM_DEBUG, ACE_TEXT ("(%P|%t) acquired more chunks, nbytes = %d, rounded_bytes = %d, new break = %u\n"), nbytes, rounded_bytes, cp)); return cp; } |