summaryrefslogtreecommitdiff
path: root/meta-ibs/meta-common/recipes-phosphor/interfaces/bmcweb/0010-Fix-redfish2phosphor-call-fillMessageArgs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-ibs/meta-common/recipes-phosphor/interfaces/bmcweb/0010-Fix-redfish2phosphor-call-fillMessageArgs.patch')
-rw-r--r--meta-ibs/meta-common/recipes-phosphor/interfaces/bmcweb/0010-Fix-redfish2phosphor-call-fillMessageArgs.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-ibs/meta-common/recipes-phosphor/interfaces/bmcweb/0010-Fix-redfish2phosphor-call-fillMessageArgs.patch b/meta-ibs/meta-common/recipes-phosphor/interfaces/bmcweb/0010-Fix-redfish2phosphor-call-fillMessageArgs.patch
new file mode 100644
index 0000000000..de517acc65
--- /dev/null
+++ b/meta-ibs/meta-common/recipes-phosphor/interfaces/bmcweb/0010-Fix-redfish2phosphor-call-fillMessageArgs.patch
@@ -0,0 +1,22 @@
+From b23b11d6fddb541a859fa547e34ba0ea0657b660 Mon Sep 17 00:00:00 2001
+From: "Evgeny Alekseev (IBS Group)" <ealekseev@ibs.sila.ru>
+Date: Thu, 15 Sep 2022 15:03:15 +0300
+Subject: [PATCH] Fix redfish2phosphor call fillMessageArgs
+
+---
+ src/redfish2phosphor-logs.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/redfish2phosphor-logs.cpp b/src/redfish2phosphor-logs.cpp
+index 1bd51cac..5a19876e 100644
+--- a/src/redfish2phosphor-logs.cpp
++++ b/src/redfish2phosphor-logs.cpp
+@@ -190,7 +190,7 @@ int main(int argc, char* argv[])
+
+ for (auto& m : strsplit_args)
+ BMCWEB_LOG_DEBUG << m;
+- redfish::registries::fillMessageArgs(strsplit_args, string_msg);
++ string_msg = redfish::registries::fillMessageArgs(strsplit_args, string_msg);
+ BMCWEB_LOG_DEBUG << string_msg;
+ try
+ {