From: Martin Wilck <mwilck@xxxxxxxx> Signed-off-by: Martin Wilck <mwilck@xxxxxxxx> --- tests/test-log.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test-log.c b/tests/test-log.c index 76a266eb..d685d582 100644 --- a/tests/test-log.c +++ b/tests/test-log.c @@ -6,6 +6,7 @@ #include "log.h" #include "test-log.h" +__attribute__((format(printf, 3, 0))) void __wrap_dlog (int sink, int prio, const char * fmt, ...) { char buff[MAX_MSG_SIZE]; -- 2.23.0 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel