projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1568430
)
logind: align columns of a table
author
Lennart Poettering
<lennart@poettering.net>
Mon, 27 Nov 2023 14:00:12 +0000
(15:00 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 28 Nov 2023 10:13:14 +0000
(11:13 +0100)
src/login/logind-user.c
patch
|
blob
|
history
diff --git
a/src/login/logind-user.c
b/src/login/logind-user.c
index 641050f8ba58218c7e1ea42053959bbe246df092..c6133077f0c174c5390de449ef91b0fcd8a63a3d 100644
(file)
--- a/
src/login/logind-user.c
+++ b/
src/login/logind-user.c
@@
-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);