Skip to content

Commit

Permalink
match: Fix propertiesChangedNamespace method
Browse files Browse the repository at this point in the history
It should use arg0namespace instead of argN in the
propertiesChangedNamespace method.

Signed-off-by: George Liu <[email protected]>
Change-Id: Ia73a30c875ebbe9ec070094ee78085e9fd596ddf
  • Loading branch information
lxwinspur authored and williamspatrick committed Jan 19, 2022
1 parent b40dfec commit 7662fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sdbusplus/bus/match.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7662fa6

Please sign in to comment.