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