Explorar o código

Define totemiba_log_printf properly

Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
Steven Dake %!s(int64=14) %!d(string=hai) anos
pai
achega
e416a04b02
Modificáronse 1 ficheiros con 5 adicións e 3 borrados
  1. 5 3
      exec/totemiba.c

+ 5 - 3
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;