diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-19 01:55:29 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-22 16:31:32 +0200 |
commit | c077529ba6852192c464772ce907670850210dfe (patch) | |
tree | e067689b021c42cb9c7ef57504e842dd6f0ac4de /src/login/loginctl.c | |
parent | f6c2284ad340a450ac0e4f9b252aadf67e5618eb (diff) |
util: drop UID_IS_INVALID() in favour of uid_is_valid()
No need to keep both functions, settle on uid_is_valid() for everything.
Diffstat (limited to 'src/login/loginctl.c')
-rw-r--r-- | src/login/loginctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/loginctl.c b/src/login/loginctl.c index 405df49a7c..be52518161 100644 --- a/src/login/loginctl.c +++ b/src/login/loginctl.c @@ -720,7 +720,7 @@ static int print_property(const char *name, sd_bus_message *m, const char *conte if (r < 0) return bus_log_parse_error(r); - if (UID_IS_INVALID(uid)) { + if (!uid_is_valid(uid)) { log_error("Invalid user ID: " UID_FMT, uid); return -EINVAL; } |