Skip to content

Commit

Permalink
Define totemiba_log_printf properly
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
  • Loading branch information
Steven Dake committed Aug 15, 2011
1 parent 2565dfa commit e416a04
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions exec/totemiba.c
Expand Up @@ -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;

Expand Down

0 comments on commit e416a04

Please sign in to comment.