From e416a04b024250c3a56a8972c30a8331b85e700d Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Tue, 9 Aug 2011 14:49:41 -0700 Subject: [PATCH] Define totemiba_log_printf properly Signed-off-by: Steven Dake Reviewed-by: Angus Salkeld --- exec/totemiba.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/exec/totemiba.c b/exec/totemiba.c index a16f88a3..008018a9 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;