From: Martin Wilck Subject: [PATCH 63/72] multipath tests: fix -Wformat-literal warning Date: Sat, 12 Oct 2019 21:28:56 +0000 Message-ID: <20191012212703.12989-64-martin.wilck@suse.com> References: <20191012212703.12989-1-martin.wilck@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20191012212703.12989-1-martin.wilck@suse.com> Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Christophe Varoqui , Benjamin Marzinski Cc: "dm-devel@redhat.com" , Martin Wilck List-Id: dm-devel.ids From: Martin Wilck Signed-off-by: Martin Wilck --- 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