diff options
Diffstat (limited to '0015-RH-fix-output-buffer.patch')
-rw-r--r-- | 0015-RH-fix-output-buffer.patch | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/0015-RH-fix-output-buffer.patch b/0015-RH-fix-output-buffer.patch index 1a915f2..ffbbaad 100644 --- a/0015-RH-fix-output-buffer.patch +++ b/0015-RH-fix-output-buffer.patch @@ -1,6 +1,6 @@ --- - libmultipath/print.c | 30 ++++++++++++++++++++++++++---- - 1 file changed, 26 insertions(+), 4 deletions(-) + libmultipath/print.c | 31 +++++++++++++++++++++++++++---- + 1 file changed, 27 insertions(+), 4 deletions(-) Index: multipath-tools-130222/libmultipath/print.c =================================================================== @@ -23,7 +23,7 @@ Index: multipath-tools-130222/libmultipath/print.c #define MAX(x,y) (x > y) ? x : y #define TAIL (line + len - 1 - c) -@@ -754,11 +757,30 @@ snprint_pathgroup (char * line, int len, +@@ -754,12 +757,32 @@ snprint_pathgroup (char * line, int len, extern void print_multipath_topology (struct multipath * mpp, int verbosity) { @@ -56,5 +56,7 @@ Index: multipath-tools-130222/libmultipath/print.c + } + } while (resize); printf("%s", buff); ++ FREE(buff); } + extern int |