summaryrefslogtreecommitdiff
path: root/examples/Mem_Map
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-03-17 21:04:06 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-03-17 21:04:06 +0000
commit8a6537431b9150f98e0eb61110cfd5b805f314f8 (patch)
tree03a9bbdf319964ded8f2d615a7237d4aefe7c809 /examples/Mem_Map
parent6079fd308ac07a13f4fa1d3474b3f9e8fca57c99 (diff)
downloadATCD-8a6537431b9150f98e0eb61110cfd5b805f314f8.tar.gz
LM_ERROR instead of ACE_ERROR
Diffstat (limited to 'examples/Mem_Map')
-rw-r--r--examples/Mem_Map/IO-tests/IO_Test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/Mem_Map/IO-tests/IO_Test.cpp b/examples/Mem_Map/IO-tests/IO_Test.cpp
index ceef5e8e39d..734444947e5 100644
--- a/examples/Mem_Map/IO-tests/IO_Test.cpp
+++ b/examples/Mem_Map/IO-tests/IO_Test.cpp
@@ -134,7 +134,7 @@ Mmap1_Test::run_test (int iterations, FILE *input_fp, FILE *output_fp)
void *src = 0;
if (map_input (src) == -1)
- ACE_ERROR_RETURN ((ACE_ERROR, "%s", this->name ()), -1);
+ ACE_ERROR_RETURN ((LM_ERROR, "%s", this->name ()), -1);
else
{
this->tm_.start ();
@@ -142,7 +142,7 @@ Mmap1_Test::run_test (int iterations, FILE *input_fp, FILE *output_fp)
while (--iterations >= 0)
{
if (ACE_OS::write (fileno (output_fp), src, map_input.size ()) == -1)
- ACE_ERROR_RETURN ((ACE_ERROR, "%s", this->name ()), -1);
+ ACE_ERROR_RETURN ((LM_ERROR, "%s", this->name ()), -1);
ACE_OS::lseek (fileno (output_fp), 0, SEEK_SET);
}
@@ -150,7 +150,7 @@ Mmap1_Test::run_test (int iterations, FILE *input_fp, FILE *output_fp)
}
if (map_input.unmap () == -1)
- ACE_ERROR_RETURN ((ACE_ERROR, "%s", this->name ()), -1);
+ ACE_ERROR_RETURN ((LM_ERROR, "%s", this->name ()), -1);
else
return 0;
}