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

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