Ack, code review only/Thanks HansN

-----Original Message-----
From: nagendr...@oracle.com [mailto:nagendr...@oracle.com] 
Sent: den 20 februari 2015 06:51
To: Hans Feldt; Hans Nordebäck; praveen.malv...@oracle.com
Cc: opensaf-devel@lists.sourceforge.net
Subject: [PATCH 1 of 1] amfd: add SG and SU name in error string [#1174]

 osaf/services/saf/amf/amfd/node.cc |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/osaf/services/saf/amf/amfd/node.cc 
b/osaf/services/saf/amf/amfd/node.cc
--- a/osaf/services/saf/amf/amfd/node.cc
+++ b/osaf/services/saf/amf/amfd/node.cc
@@ -1077,7 +1077,8 @@ static void node_admin_op_cb(SaImmOiHand
 
                if (su->sg_of_su->sg_fsm_state != AVD_SG_FSM_STABLE) {
                        report_admin_op_error(immOiHandle, invocation, 
SA_AIS_ERR_TRY_AGAIN, NULL,
-                                       "SG of SU on this node not in STABLE 
state (%s)", su->name.value);
+                                       "SG'%s' of SU'%s' on this node not in 
STABLE state",
+                                       su->sg_of_su->name.value, 
su->name.value);
                        goto done;
                }
                su = su->avnd_list_su_next;

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to