summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ace/Object_Manager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ace/Object_Manager.cpp b/ace/Object_Manager.cpp
index 939cc4e892c..8deaf31ec3d 100644
--- a/ace/Object_Manager.cpp
+++ b/ace/Object_Manager.cpp
@@ -249,7 +249,8 @@ ACE_Object_Manager::init (void)
# endif /* ! ACE_LACKS_ACE_SVCCONF */
// Open the main thread's ACE_Log_Msg.
- (void) ACE_LOG_MSG;
+ if (NULL == ACE_LOG_MSG)
+ return -1;
}
// Finally, indicate that the ACE_Object_Manager instance has