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

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