Blame SOURCES/0073-RH-update-build-flags.patch

4ae388
---
4ae388
 Makefile.inc                 |    2 +-
4ae388
 libmultipath/checkers/rdac.c |    4 ++--
4ae388
 2 files changed, 3 insertions(+), 3 deletions(-)
4ae388
4ae388
Index: multipath-tools-130222/Makefile.inc
4ae388
===================================================================
4ae388
--- multipath-tools-130222.orig/Makefile.inc
4ae388
+++ multipath-tools-130222/Makefile.inc
4ae388
@@ -39,7 +39,7 @@ GZIP        = /bin/gzip -9 -c
4ae388
 INSTALL_PROGRAM = install
4ae388
 
4ae388
 ifndef RPM_OPT_FLAGS
4ae388
-	RPM_OPT_FLAGS = -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4
4ae388
+	RPM_OPT_FLAGS = -O2 -g -pipe -Wformat-security -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
4ae388
 endif
4ae388
 
4ae388
 LDFLAGS     += -Wl,-z,relro
4ae388
Index: multipath-tools-130222/libmultipath/checkers/rdac.c
4ae388
===================================================================
4ae388
--- multipath-tools-130222.orig/libmultipath/checkers/rdac.c
4ae388
+++ multipath-tools-130222/libmultipath/checkers/rdac.c
4ae388
@@ -308,8 +308,8 @@ libcheck_check (struct checker * c)
4ae388
 done:
4ae388
 	switch (ret) {
4ae388
 	case PATH_DOWN:
4ae388
-		MSG(c, (inqfail) ? MSG_RDAC_DOWN_TYPE("inquiry failed") :
4ae388
-			checker_msg_string(&inq));
4ae388
+		MSG(c, "%s", (inqfail) ? MSG_RDAC_DOWN_TYPE("inquiry failed") :
4ae388
+			     checker_msg_string(&inq));
4ae388
 		break;
4ae388
 	case PATH_UP:
4ae388
 		MSG(c, MSG_RDAC_UP);