Blame SOURCES/0080-libmultipath-print-the-correct-file-when-parsing-fai.patch

080173
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
080173
From: Benjamin Marzinski <bmarzins@redhat.com>
080173
Date: Fri, 24 Sep 2021 13:13:31 -0500
080173
Subject: [PATCH] libmultipath: print the correct file when parsing fails
080173
080173
Don't assume that parsing failed on multipath.conf
080173
080173
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
080173
---
080173
 libmultipath/parser.c | 4 ++--
080173
 1 file changed, 2 insertions(+), 2 deletions(-)
080173
080173
diff --git a/libmultipath/parser.c b/libmultipath/parser.c
080173
index e511acf9..341f2b80 100644
080173
--- a/libmultipath/parser.c
080173
+++ b/libmultipath/parser.c
080173
@@ -565,8 +565,8 @@ process_stream(struct config *conf, FILE *stream, vector keywords,
080173
 				    t = keyword->handler(conf, strvec);
080173
 					r += t;
080173
 					if (t)
080173
-						condlog(1, "multipath.conf +%d, parsing failed: %s",
080173
-							line_nr, buf);
080173
+						condlog(1, "%s line %d, parsing failed: %s",
080173
+							file, line_nr, buf);
080173
 				}
080173
 
080173
 				if (keyword->sub) {