diff options
author | Daniel Mack <github@zonque.org> | 2015-09-22 17:04:38 +0200 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2015-09-22 17:04:38 +0200 |
commit | d11885c81419cac217ae132c1ef80733707ba650 (patch) | |
tree | c367fa9b5198865e7f5bb10a0121ccd17f0cba7d /src/nss-mymachines | |
parent | f98f4ace4df1b67572a5fbb3b1924b303d77d773 (diff) | |
parent | 3be78ab2b8f26c3c868275cac2458553efeda8a5 (diff) |
Merge pull request #1335 from poettering/some-fixes
A variety of mostly unrelated fixes
Diffstat (limited to 'src/nss-mymachines')
-rw-r--r-- | src/nss-mymachines/nss-mymachines.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nss-mymachines/nss-mymachines.c b/src/nss-mymachines/nss-mymachines.c index 5758ea1569..604130ed25 100644 --- a/src/nss-mymachines/nss-mymachines.c +++ b/src/nss-mymachines/nss-mymachines.c @@ -485,7 +485,7 @@ enum nss_status _nss_mymachines_getpwuid_r( uint32_t mapped; int r; - if (UID_IS_INVALID(uid)) { + if (!uid_is_valid(uid)) { r = -EINVAL; goto fail; } @@ -640,7 +640,7 @@ enum nss_status _nss_mymachines_getgrgid_r( uint32_t mapped; int r; - if (GID_IS_INVALID(gid)) { + if (!gid_is_valid(gid)) { r = -EINVAL; goto fail; } |