[dm-devel] [PATCH 63/72] multipath tests: fix -Wformat-literal warning
Martin Wilck
Martin.Wilck at suse.com
Sat Oct 12 21:28:56 UTC 2019
From: Martin Wilck <mwilck at suse.com>
Signed-off-by: Martin Wilck <mwilck at suse.com>
---
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
More information about the dm-devel
mailing list