summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/bus-creds.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-23 02:59:30 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-23 03:00:15 +0100
commit1c0216696a5024db431ce397e8f2ca052084a71e (patch)
tree94a1e32a0834fc142d5794e7a9af1f28fac54e5e /src/libsystemd/sd-bus/bus-creds.c
parent934277fe6a26ff2a4da37059c70d84ab6a700781 (diff)
sd-bus: fix typo
Diffstat (limited to 'src/libsystemd/sd-bus/bus-creds.c')
-rw-r--r--src/libsystemd/sd-bus/bus-creds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/bus-creds.c b/src/libsystemd/sd-bus/bus-creds.c
index 54e76ab6c4..ea8a619c5a 100644
--- a/src/libsystemd/sd-bus/bus-creds.c
+++ b/src/libsystemd/sd-bus/bus-creds.c
@@ -220,7 +220,7 @@ _public_ int sd_bus_creds_get_gid(sd_bus_creds *c, gid_t *gid) {
assert_return(c, -EINVAL);
assert_return(gid, -EINVAL);
- if (!(c->mask & SD_BUS_CREDS_UID))
+ if (!(c->mask & SD_BUS_CREDS_GID))
return -ENODATA;
*gid = c->gid;