From: Sven Eden Date: Fri, 8 Jun 2018 06:35:24 +0000 (+0200) Subject: logind-user.c: As we need special.h elsewhere now, use it here, too. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e97bcf5d16f97963ddfbf0a0a14e8b05f1bc0726;p=elogind.git logind-user.c: As we need special.h elsewhere now, use it here, too. (cherry picked from commit a96cb75c17b008312fca8f81bc2a126f8a87850c) --- 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];