diff options
author | Daniel Mack <daniel@zonque.org> | 2014-10-22 19:17:24 +0200 |
---|---|---|
committer | Daniel Mack <daniel@zonque.org> | 2014-10-22 19:45:07 +0200 |
commit | 056f95d0a70413e10e4a4ea9966baabb5a1450ed (patch) | |
tree | d712969f6e7d7352dfe41210edcfce5187ef81e5 /src/core | |
parent | 370d7a9c0fe558c5846a2abd919e397639b69506 (diff) |
sd-bus: rename sd_bus_get_owner_uid(), sd_bus_get_owner_machine_id() and sd_bus_get_peer_creds()
Clean up the function namespace by renaming the following:
sd_bus_get_owner_uid() → sd_bus_get_name_creds_uid()
sd_bus_get_owner_machine_id() → sd_bus_get_name_machine_id()
sd_bus_get_peer_creds() → sd_bus_get_owner_creds()
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/service.c b/src/core/service.c index 76763441b0..d160c4e93b 100644 --- a/src/core/service.c +++ b/src/core/service.c @@ -2729,7 +2729,7 @@ static void service_bus_name_owner_change( /* Try to acquire PID from bus service */ - r = sd_bus_get_owner(u->manager->api_bus, name, SD_BUS_CREDS_PID, &creds); + r = sd_bus_get_name_creds(u->manager->api_bus, name, SD_BUS_CREDS_PID, &creds); if (r >= 0) r = sd_bus_creds_get_pid(creds, &pid); if (r >= 0) { |