diff options
author | Kay Sievers <kay@vrfy.org> | 2013-05-24 03:08:48 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2013-05-24 03:08:48 +0200 |
commit | 9b3848f2e2dc737bd6e7df1c765821d227d3f22f (patch) | |
tree | 499cb60c047a0330128db3e8292b2943ce90ae30 /src/libsystemd-bus/bus-control.c | |
parent | 3a05c0f96c88984b47ca2f77bbf67dd5048a47d8 (diff) |
bus: update kdbus.h from upstream
Diffstat (limited to 'src/libsystemd-bus/bus-control.c')
-rw-r--r-- | src/libsystemd-bus/bus-control.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsystemd-bus/bus-control.c b/src/libsystemd-bus/bus-control.c index cb8618e5c5..0ba8585805 100644 --- a/src/libsystemd-bus/bus-control.c +++ b/src/libsystemd-bus/bus-control.c @@ -75,7 +75,7 @@ int sd_bus_request_name(sd_bus *bus, const char *name, int flags) { l = strlen(name); n = alloca0(offsetof(struct kdbus_cmd_name, name) + l + 1); n->size = offsetof(struct kdbus_cmd_name, name) + l + 1; - n->name_flags = flags; + n->flags = flags; memcpy(n->name, name, l+1); #ifdef HAVE_VALGRIND_MEMCHECK_H @@ -86,7 +86,7 @@ int sd_bus_request_name(sd_bus *bus, const char *name, int flags) { if (r < 0) return -errno; - return n->name_flags; + return n->flags; } else { r = sd_bus_call_method( bus, @@ -142,7 +142,7 @@ int sd_bus_release_name(sd_bus *bus, const char *name) { if (r < 0) return -errno; - return n->name_flags; + return n->flags; } else { r = sd_bus_call_method( bus, |