Define totemiba_log_printf properly

Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
This commit is contained in:
Steven Dake 2011-08-09 14:49:41 -07:00
parent 2565dfa03d
commit e416a04b02

View File

@ -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;