summaryrefslogtreecommitdiffstats
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
parentcore: add a property that shows the current memory usage of a unit (diff)
downloadsystemd-1c0216696a5024db431ce397e8f2ca052084a71e.tar.xz
systemd-1c0216696a5024db431ce397e8f2ca052084a71e.zip
sd-bus: fix typo
Diffstat (limited to '')
-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;