From ae439c9f9b8a9cbb320d66290e3f9ad0e2f37378 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 19 Mar 2014 18:31:54 +0100 Subject: [PATCH] sd-bus: properly translate high-level attach flags into kdbus attach flags --- src/libsystemd/sd-bus/sd-bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsystemd/sd-bus/sd-bus.c b/src/libsystemd/sd-bus/sd-bus.c index 6f5ba5bd5..fa6d43adc 100644 --- a/src/libsystemd/sd-bus/sd-bus.c +++ b/src/libsystemd/sd-bus/sd-bus.c @@ -320,7 +320,7 @@ _public_ int sd_bus_negotiate_creds(sd_bus *bus, uint64_t mask) { /* The well knowns we need unconditionally, so that matches can work */ bus->creds_mask = mask | SD_BUS_CREDS_WELL_KNOWN_NAMES|SD_BUS_CREDS_UNIQUE_NAME; - return kdbus_translate_attach_flags(bus->creds_mask, &bus->creds_mask); + return kdbus_translate_attach_flags(bus->creds_mask, &bus->attach_flags); } _public_ int sd_bus_set_server(sd_bus *bus, int b, sd_id128_t server_id) { -- 2.30.2