summaryrefslogtreecommitdiff
path: root/ace/Mem_Map.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-12 22:28:40 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-12 22:28:40 +0000
commitf7f7b07dcccaea361887e068223e366f60e670bc (patch)
tree4683b14230e715d8206d8c64afdebbebbfcbacc1 /ace/Mem_Map.cpp
parenta03612133f85ac33e239e617695edf46fa4f932b (diff)
downloadATCD-f7f7b07dcccaea361887e068223e366f60e670bc.tar.gz
Regular CE stuff.
Diffstat (limited to 'ace/Mem_Map.cpp')
-rw-r--r--ace/Mem_Map.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/ace/Mem_Map.cpp b/ace/Mem_Map.cpp
index 9f9763f6936..8fbdf9bd70e 100644
--- a/ace/Mem_Map.cpp
+++ b/ace/Mem_Map.cpp
@@ -17,12 +17,12 @@ ACE_Mem_Map::dump (void) const
ACE_TRACE ("ACE_Mem_Map::dump");
ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
- ACE_DEBUG ((LM_DEBUG, "base_addr_ = %x", this->base_addr_));
- ACE_DEBUG ((LM_DEBUG, "\nfilename_ = %s", this->filename_));
- ACE_DEBUG ((LM_DEBUG, "\nlength_ = %d", this->length_));
- ACE_DEBUG ((LM_DEBUG, "\nhandle_ = %d", this->handle_));
- ACE_DEBUG ((LM_DEBUG, "\nfile_mapping_ = %d", this->file_mapping_));
- ACE_DEBUG ((LM_DEBUG, "\nclose_handle_ = %d", this->close_handle_));
+ ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("base_addr_ = %x"), this->base_addr_));
+ ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("\nfilename_ = %s"), this->filename_));
+ ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("\nlength_ = %d"), this->length_));
+ ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("\nhandle_ = %d"), this->handle_));
+ ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("\nfile_mapping_ = %d"), this->file_mapping_));
+ ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("\nclose_handle_ = %d"), this->close_handle_));
ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
}
@@ -186,7 +186,7 @@ ACE_Mem_Map::ACE_Mem_Map (LPCTSTR file_name,
{
ACE_TRACE ("ACE_Mem_Map::ACE_Mem_Map");
if (this->map (file_name, len, flags, mode, prot, share, addr, pos, sa) < 0)
- ACE_ERROR ((LM_ERROR, "%p\n", "ACE_Mem_Map::ACE_Mem_Map"));
+ ACE_ERROR ((LM_ERROR, ASYS_TEXT ("%p\n"), ASYS_TEXT ("ACE_Mem_Map::ACE_Mem_Map")));
}
// Map a file from an open file descriptor HANDLE. This function will
@@ -210,7 +210,7 @@ ACE_Mem_Map::ACE_Mem_Map (ACE_HANDLE handle,
ACE_OS::memset (this->filename_, 0, sizeof this->filename_);
if (this->map (handle, len, prot, share, addr, pos, sa) < 0)
- ACE_ERROR ((LM_ERROR, "%p\n", "ACE_Mem_Map::ACE_Mem_Map"));
+ ACE_ERROR ((LM_ERROR, ASYS_TEXT ("%p\n"), ASYS_TEXT ("ACE_Mem_Map::ACE_Mem_Map")));
}
// Close down and remove the file from the file system.