diff options
author | Sven Eden <yamakuzure@gmx.net> | 2018-06-08 08:35:24 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-06-08 16:45:49 +0200 |
commit | e97bcf5d16f97963ddfbf0a0a14e8b05f1bc0726 (patch) | |
tree | 92f07936b91ef79f50702109b305ea663ddc2a8d /src/login/logind-user.c | |
parent | 34ff9b3412613ed6f1c1ad56c2915309bac6a541 (diff) |
logind-user.c: As we need special.h elsewhere now, use it here, too.
(cherry picked from commit a96cb75c17b008312fca8f81bc2a126f8a87850c)
Diffstat (limited to 'src/login/logind-user.c')
-rw-r--r-- | src/login/logind-user.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/login/logind-user.c b/src/login/logind-user.c index 15460224c..7bf92b2c2 100644 --- a/src/login/logind-user.c +++ b/src/login/logind-user.c @@ -45,16 +45,13 @@ #include "path-util.h" #include "rm-rf.h" #include "smack-util.h" -//#include "special.h" +#include "special.h" #include "stdio-util.h" #include "string-table.h" #include "unit-name.h" #include "user-util.h" #include "util.h" -#if 1 /// elogind uses a static value here -# define SPECIAL_USER_SLICE "user.slice" -#endif // 1 int user_new(User **out, Manager *m, uid_t uid, gid_t gid, const char *name) { _cleanup_(user_freep) User *u = NULL; char lu[DECIMAL_STR_MAX(uid_t) + 1]; |