[Openais] [lck 1/7] Remove some warnings

Ryan O'Hara rohara at redhat.com
Tue Jun 2 08:49:35 PDT 2009


ACK.

On Tue, Jun 02, 2009 at 05:34:03PM +0200, Jan Friesse wrote:
> ---
>  trunk/services/lck.c |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/trunk/services/lck.c b/trunk/services/lck.c
> index 10a4dd6..099835c 100644
> --- a/trunk/services/lck.c
> +++ b/trunk/services/lck.c
> @@ -587,7 +587,7 @@ static void exec_lck_resourceopen_endian_convert (void *msg)
>  	swab_mar_message_source_t (&to_swab->source);
>  	swab_mar_name_t (&to_swab->resource_name);
>  	swab_mar_uint32_t (&to_swab->open_flags);
> -	swab_mar_uint64_t (to_swab->resource_handle);
> +	swab_mar_uint64_t (&to_swab->resource_handle);
>  
>  	return;
>  }
> @@ -2263,8 +2263,8 @@ error_exit:
>  		}
>  
>  		if (error == SA_AIS_OK) {
> -			hdb_handle_put (&resource_hdb, &req_exec_lck_resourceclose->resource_id);
> -			hdb_handle_destroy (&resource_hdb, &req_exec_lck_resourceclose->resource_id);
> +			hdb_handle_put (&resource_hdb, req_exec_lck_resourceclose->resource_id);
> +			hdb_handle_destroy (&resource_hdb, req_exec_lck_resourceclose->resource_id);
>  		}
>  	}
>  }
> -- 
> 1.5.5.6
> 
> _______________________________________________
> Openais mailing list
> Openais at lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/openais


More information about the Openais mailing list