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

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