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