diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-11-28 20:51:01 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-11-28 20:55:04 +0100 |
commit | fed1e721fd0c81e60c77120539f34e16c2585634 (patch) | |
tree | a0bb21b49530bc896dcd2c540a582e324c6d7785 /src/test/test-cgroup-util.c | |
parent | 36afca67b67984520c5c9a6ce14af51a68c7c8cf (diff) |
treewide: introduce UID_INVALID (and friends) as macro for (uid_t) -1
Diffstat (limited to 'src/test/test-cgroup-util.c')
-rw-r--r-- | src/test/test-cgroup-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-cgroup-util.c b/src/test/test-cgroup-util.c index 68c526ae82..58eb744277 100644 --- a/src/test/test-cgroup-util.c +++ b/src/test/test-cgroup-util.c @@ -141,7 +141,7 @@ static void test_proc(void) { FOREACH_DIRENT(de, d, break) { _cleanup_free_ char *path = NULL, *path_shifted = NULL, *session = NULL, *unit = NULL, *user_unit = NULL, *machine = NULL, *slice = NULL; pid_t pid; - uid_t uid = (uid_t) -1; + uid_t uid = UID_INVALID; if (de->d_type != DT_DIR && de->d_type != DT_UNKNOWN) |