Ack. Not tested. Regards, Ramesh.
On 12/7/2015 2:59 PM, [email protected] wrote: > osaf/libs/core/common/ncs_main_pub.c | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > > when the ncs_leap_startup is called at initialization, it checks for node_id > file. If node_id file is not present, then ncs_util_get_sys_params will > return error. The error from ncs_util_get_sys_params is presently not > honoured. > > when the error is honoured, the opensaf/applications will not allow to > initialize if node_id file is not present. > > diff --git a/osaf/libs/core/common/ncs_main_pub.c > b/osaf/libs/core/common/ncs_main_pub.c > --- a/osaf/libs/core/common/ncs_main_pub.c > +++ b/osaf/libs/core/common/ncs_main_pub.c > @@ -778,7 +778,9 @@ uint32_t ncs_update_sys_param_args(void) > NCS_SYS_PARAMS sys_params; > > /* Get the system specific parameters */ > - ncs_util_get_sys_params(&sys_params); > + if(ncs_util_get_sys_params(&sys_params)!=NCSCC_RC_SUCCESS){ > + return NCSCC_RC_FAILURE; > + } > > /* Frame input arguments */ > ncs_get_sys_params_arg(&sys_params); ------------------------------------------------------------------------------ Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 _______________________________________________ Opensaf-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-devel
