X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Ftest%2Ftest-cgroup-util.c;h=58eb744277969842ad4d90887f5ac52e19085916;hb=722f7cc95cdc0532f3226aae796ef446d2eea722;hp=68c526ae82385109eced8c71fd3cac55778692ca;hpb=a13ee4c792cb5738c3dd13b2a4bb1a828e7994fd;p=elogind.git diff --git a/src/test/test-cgroup-util.c b/src/test/test-cgroup-util.c index 68c526ae8..58eb74427 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)