1dad67a5af
Update Source to upstream version 0.8.5 plus post tag commits * Patches 0001-0102 are from https://github.com/openSUSE/multipath-tools/tree/queue and are already queued for upstream. Rename files * Previous patches 0059-0068 are now patches 0103-0111
29 lines
850 B
Diff
29 lines
850 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Martin Wilck <mwilck@suse.com>
|
|
Date: Fri, 18 Dec 2020 23:34:35 +0100
|
|
Subject: [PATCH] libmultipath: fix format warning with clang
|
|
|
|
Reported-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
|
|
Tested-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
|
|
Reviewed-by: Benjamin Marzinski <bmarzins@redhat.com>
|
|
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
|
|
---
|
|
libmultipath/log.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/libmultipath/log.c b/libmultipath/log.c
|
|
index 6498c88c..10fa32cd 100644
|
|
--- a/libmultipath/log.c
|
|
+++ b/libmultipath/log.c
|
|
@@ -125,6 +125,7 @@ void log_reset (char *program_name)
|
|
pthread_cleanup_pop(1);
|
|
}
|
|
|
|
+__attribute__((format(printf, 2, 0)))
|
|
static int _log_enqueue(int prio, const char * fmt, va_list ap)
|
|
{
|
|
int len, fwd;
|
|
--
|
|
2.17.2
|
|
|