]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
logind: align columns of a table
authorLennart Poettering <lennart@poettering.net>
Mon, 27 Nov 2023 14:00:12 +0000 (15:00 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 28 Nov 2023 10:13:14 +0000 (11:13 +0100)
src/login/logind-user.c

index 641050f8ba58218c7e1ea42053959bbe246df092..c6133077f0c174c5390de449ef91b0fcd8a63a3d 100644 (file)
@@ -861,12 +861,12 @@ void user_update_last_session_timer(User *u) {
 }
 
 static const char* const user_state_table[_USER_STATE_MAX] = {
-        [USER_OFFLINE] = "offline",
-        [USER_OPENING] = "opening",
+        [USER_OFFLINE]   = "offline",
+        [USER_OPENING]   = "opening",
         [USER_LINGERING] = "lingering",
-        [USER_ONLINE] = "online",
-        [USER_ACTIVE] = "active",
-        [USER_CLOSING] = "closing"
+        [USER_ONLINE]    = "online",
+        [USER_ACTIVE]    = "active",
+        [USER_CLOSING]   = "closing"
 };
 
 DEFINE_STRING_TABLE_LOOKUP(user_state, UserState);