b05147c356
Change patch format to remove Git version * Patches 0001-0122 only have the patch format modified Update to the head of the upstream staging branch plus redhat patches * Patches 0123-0134 & 1036-0142 are from the upstream staging branch * Patches 0143-1046 have been submitted upstream * Patch 0156 is a Red Hat only patch. Red Hat udev rules set ID_SERIAL from 60-persistent-storage.rules instead of 55-scsi-sg3_id.rules. Multipath's parse_vpd_pg83() function needs to match the ID_SERIAL value from udev. Rename files * Previous patches 0123-0132 are now patches 1035 & 0147-0155
26 lines
838 B
Diff
26 lines
838 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;
|