Re: [Openais] [PATCH 2/4] Define totemiba_log_printf properly

2011-08-09 Thread Angus Salkeld
On Tue, Aug 09, 2011 at 02:55:04PM -0700, Steven Dake wrote:
> Signed-off-by: Steven Dake 

Reviewed-by: Angus Salkeld 

> ---
>  exec/totemiba.c |8 +---
>  1 files changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/exec/totemiba.c b/exec/totemiba.c
> index a16f88a..008018a 100644
> --- a/exec/totemiba.c
> +++ b/exec/totemiba.c
> @@ -187,13 +187,15 @@ struct totemiba_instance {
>  
>   struct ibv_cq *send_token_recv_cq;
>  
> - void (*totemiba_log_printf) (
> - unsigned int rec_ident,
> +void (*totemiba_log_printf) (
> + int level,
> + int subsys,
>   const char *function,
>   const char *file,
>   int line,
>   const char *format,
> - ...)__attribute__((format(printf, 5, 6)));
> + ...)__attribute__((format(printf, 6, 7)));
> +
>  
>   int totemiba_subsys_id;
>  
> -- 
> 1.7.6
> 
> ___
> Openais mailing list
> Openais@lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/openais
___
Openais mailing list
Openais@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/openais


[Openais] [PATCH 2/4] Define totemiba_log_printf properly

2011-08-09 Thread Steven Dake
Signed-off-by: Steven Dake 
---
 exec/totemiba.c |8 +---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/exec/totemiba.c b/exec/totemiba.c
index a16f88a..008018a 100644
--- a/exec/totemiba.c
+++ b/exec/totemiba.c
@@ -187,13 +187,15 @@ struct totemiba_instance {
 
struct ibv_cq *send_token_recv_cq;
 
-   void (*totemiba_log_printf) (
-   unsigned int rec_ident,
+void (*totemiba_log_printf) (
+   int level,
+   int subsys,
const char *function,
const char *file,
int line,
const char *format,
-   ...)__attribute__((format(printf, 5, 6)));
+   ...)__attribute__((format(printf, 6, 7)));
+
 
int totemiba_subsys_id;
 
-- 
1.7.6

___
Openais mailing list
Openais@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/openais