summaryrefslogtreecommitdiff
path: root/meta-ibs/meta-common/recipes-phosphor/interfaces/bmcweb/0010-Fix-redfish2phosphor-call-fillMessageArgs.patch
blob: de517acc6520b2d1e6bd8796493704f2d4ba9421 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
     {