From 7662fa6932c90c134ecc815be688957fa45e1c84 Mon Sep 17 00:00:00 2001 From: George Liu Date: Wed, 19 Jan 2022 10:45:04 +0800 Subject: [PATCH] match: Fix propertiesChangedNamespace method It should use arg0namespace instead of argN in the propertiesChangedNamespace method. Signed-off-by: George Liu Change-Id: Ia73a30c875ebbe9ec070094ee78085e9fd596ddf --- include/sdbusplus/bus/match.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sdbusplus/bus/match.hpp b/include/sdbusplus/bus/match.hpp index 30327128..9eb13a0b 100644 --- a/include/sdbusplus/bus/match.hpp +++ b/include/sdbusplus/bus/match.hpp @@ -202,7 +202,7 @@ inline auto propertiesChangedNamespace(const std::string& p, const std::string& i) { return type::signal() + path_namespace(p) + member("PropertiesChanged"s) + - interface("org.freedesktop.DBus.Properties"s) + argN(0, i); + interface("org.freedesktop.DBus.Properties"s) + arg0namespace(i); } /** * @brief Constructs a NameOwnerChanged match string for a service name