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

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