summaryrefslogtreecommitdiff
path: root/TAO
diff options
context:
space:
mode:
authorcrodrigu <crodrigu@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-02-14 18:46:01 +0000
committercrodrigu <crodrigu@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-02-14 18:46:01 +0000
commit2bf6aefe411e387de1f148df5fb0ded4f04816ac (patch)
treefd48c4035c7f59f45d7c6181c0d3922a63c8f316 /TAO
parente5abb970ff5000e9b3fe9832c9f4c8530cc5148d (diff)
downloadATCD-2bf6aefe411e387de1f148df5fb0ded4f04816ac.tar.gz
ChangeLogTag: Fri Feb 14 18:39:01 UTC 2003 Craig Rodrigues <crodrigu@bbn.com>
Diffstat (limited to 'TAO')
-rw-r--r--TAO/ChangeLog12
-rw-r--r--TAO/tao/RTCORBA/RT_ORBInitializer.cpp4
2 files changed, 14 insertions, 2 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index fedca01694f..a2abdaf83d1 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,15 @@
+Fri Feb 14 18:39:01 UTC 2003 Craig Rodrigues <crodrigu@bbn.com>
+
+ * tao/RTCORBA/RT_ORBInitializer.cpp:
+ If you do:
+ ACE_DEBUG((LM_DEBUG, "%p" ));
+ to print errno, then that is wrong and will crash.
+
+ You need to do:
+ ACE_DEBUG((LM_DEBUG, "%p", "somestring ));
+ I've changed things to be consistent:
+ ACE_DEBUG((LM_DEBUG, "errno: %d %m", errno));
+
Fri Feb 14 09:12:12 2003 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>
* tests/RTCORBA/MT_Client_Protocol_Priority/client.conf: New file
diff --git a/TAO/tao/RTCORBA/RT_ORBInitializer.cpp b/TAO/tao/RTCORBA/RT_ORBInitializer.cpp
index d6df73592d7..0d37addd1eb 100644
--- a/TAO/tao/RTCORBA/RT_ORBInitializer.cpp
+++ b/TAO/tao/RTCORBA/RT_ORBInitializer.cpp
@@ -247,7 +247,7 @@ TAO_RT_ORBInitializer::pre_init (
int result = ACE_OS::thr_getprio(thr_id, priority);
if ( result != 0 ) {
- ACE_ERROR ((LM_ERROR, "(%N,%l) ACE_OS::thr_getprio failed, priority %d errno %p\n", priority));
+ ACE_ERROR ((LM_ERROR, "(%N,%l) ACE_OS::thr_getprio failed, priority %d errno: %d %m\n", priority, errno));
return;
}
@@ -259,7 +259,7 @@ TAO_RT_ORBInitializer::pre_init (
result = ACE_OS::thr_setprio(thr_id, priority, this->sched_policy_);
if ( result != 0 ) {
- ACE_ERROR ((LM_ERROR, "(%N,%l) ACE_OS::thr_setprio failed, priority %d errno %p\n", priority));
+ ACE_ERROR ((LM_ERROR, "(%N,%l) ACE_OS::thr_setprio failed, priority %d errno: %d %m\n", priority, errno));
}
}