Blame SOURCES/0001-opafmd-larger-array-to-hold-program-path.patch

86e033
From acf86501b6f5ad3f04a2dca56a6b13b7925d875d Mon Sep 17 00:00:00 2001
86e033
From: Michal Schmidt <mschmidt@redhat.com>
86e033
Date: Wed, 26 Aug 2015 16:20:07 +0200
86e033
Subject: [PATCH] opafmd: larger array to hold program path
86e033
86e033
Since we're substituting /opt -> /usr/lib, char[25] is no longer
86e033
sufficient to hold the complete path.
86e033
---
86e033
 Esm/ib/src/linux/startup/opafmd.c | 2 +-
86e033
 1 file changed, 1 insertion(+), 1 deletion(-)
86e033
86e033
diff --git a/Esm/ib/src/linux/startup/opafmd.c b/Esm/ib/src/linux/startup/opafmd.c
86e033
index a31ee001be..50a3f3fae1 100644
86e033
--- a/Esm/ib/src/linux/startup/opafmd.c
86e033
+++ b/Esm/ib/src/linux/startup/opafmd.c
86e033
@@ -255,7 +255,7 @@ int parseInput(char *buf){
86e033
  */
86e033
 int spawn(const unsigned int instance, const int component, int *pids){
86e033
 	int pid;
86e033
-	char prog[25], name[6];
86e033
+	char prog[50], name[6];
86e033
 	if(instance >= 4){
86e033
 		fprintf(stderr, "Invalid instance number.\n");
86e033
 		return -1;
86e033
-- 
86e033
2.4.3
86e033