[Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: lrm by zhenh from
Andrew Beekhof
lists at beekhof.net
Sun Oct 10 10:35:52 MDT 2004
make sure to re-run configure with --enable-ansi ... // style comments
arent allowed anymore.
On Oct 10, 2004, at 11:27 AM, linux-ha-cvs at lists.linux-ha.org wrote:
> linux-ha CVS committal
>
> Author : zhenh
> Host :
> Project : linux-ha
> Module : lrm
>
> Dir : linux-ha/lrm/admin
>
>
> Modified Files:
> lrmadmin.c
>
>
> Log Message:
> change some output information to make it more clear
>
> ===================================================================
> RCS file: /home/cvs/linux-ha/linux-ha/lrm/admin/lrmadmin.c,v
> retrieving revision 1.19
> retrieving revision 1.20
> diff -u -3 -r1.19 -r1.20
> --- lrmadmin.c 8 Oct 2004 04:47:54 -0000 1.19
> +++ lrmadmin.c 10 Oct 2004 09:27:53 -0000 1.20
> @@ -1,4 +1,4 @@
> -/* $Id: lrmadmin.c,v 1.19 2004/10/08 04:47:54 zhenh Exp $ */
> +/* $Id: lrmadmin.c,v 1.20 2004/10/10 09:27:53 zhenh Exp $ */
> /* File: lrmadmin.c
> * Description: A adminstration tool for Local Resource Manager
> *
> @@ -169,9 +169,9 @@
> }
>
> cl_log_set_entity(lrmadmin_name);
> - cl_log_enable_stderr(TRUE);
> + cl_log_enable_stderr(FALSE);
> cl_log_set_facility(LOG_USER);
> -
> +// set_debug_level(LOG_INFO);
> memset(rscid_arg_tmp, '\0', RID_LEN);
> memset(raclass, '\0', 20);
> do {
> @@ -289,8 +289,8 @@
> lrmd->lrm_ops->set_lrm_callback(lrmd, lrm_op_done_callback);
>
> if (lrmd->lrm_ops->signon(lrmd, lrmadmin_name) != 1) { /* !=
> HA_OK */
> + printf("lrmd daemon is not running.\n");
> if (lrmadmin_cmd == DAEMON_OP) {
> - printf("lrmd daemon is not running.\n");
> return LSB_STATUS_STOPPED;
> } else {
> cl_log(LOG_ERR,"Can't connect to lrmd, quit!");
> @@ -376,7 +376,7 @@
> if (lrm_rsc->ops->flush_ops(lrm_rsc) == 1 ) {
> printf("Succeeded in flushing.\n");
> } else {
> - printf("Falied to flush.\n");
> + printf("Failed to flush.\n");
> ret_value = -3;
> }
> }
> @@ -879,6 +879,9 @@
>
> /*
> * $Log: lrmadmin.c,v $
> + * Revision 1.20 2004/10/10 09:27:53 zhenh
> + * change some output information to make it more clear
> + *
> * Revision 1.19 2004/10/08 04:47:54 zhenh
> * fix a bug: checking the return value of get_rsc_type_metadata
> *
>
>
> _______________________________________________
> Linux-ha-cvs mailing list
> Linux-ha-cvs at lists.linux-ha.org
> http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
>
--
Andrew Beekhof
"Ooo Ahhh, Glenn McRath" - TISM
More information about the Linux-HA-Dev
mailing list