summaryrefslogtreecommitdiff
path: root/src/shared/capability.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-12-25 17:46:45 +0100
committerLennart Poettering <lennart@poettering.net>2013-12-25 18:04:04 +0100
commit693eb9a2d42d71445dad273a76e2470199d1dc5a (patch)
tree9d43271a1cc9c91ff8660eda7720ab755a427a84 /src/shared/capability.c
parent80a33f113bbdadf4fc7ffec7fed026fde59d232b (diff)
downloadsystemd-693eb9a2d42d71445dad273a76e2470199d1dc5a.tar.gz
bus: rename message "serial" to "cookie"
Even if the lower-leveld dbus1 protocol calls it "serial", let's expose the word "cookie" for this instead, as this is what kdbus uses and since it doesn't imply monotonicity the same way "serial" does.
Diffstat (limited to 'src/shared/capability.c')
-rw-r--r--src/shared/capability.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/capability.c b/src/shared/capability.c
index f34f6ba6f6..72c671cf84 100644
--- a/src/shared/capability.c
+++ b/src/shared/capability.c
@@ -137,7 +137,7 @@ int capability_bounding_set_drop(uint64_t drop, bool right_now) {
r = -errno;
goto finish;
}
- v = i;
+ v = (cap_value_t) i;
/* Also drop it from the inheritable set, so
* that anything we exec() loses the