From: Mike Yuan Date: Thu, 25 May 2023 10:25:15 +0000 (+0800) Subject: loginctl: realign bus_properties_map X-Git-Tag: v254-rc1~361^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1d47a2682ff016892a43b1cf6c410cf7ace8d18e;p=thirdparty%2Fsystemd.git loginctl: realign bus_properties_map --- diff --git a/src/login/loginctl.c b/src/login/loginctl.c index 81bb8f48ddf..5fb567081b2 100644 --- a/src/login/loginctl.c +++ b/src/login/loginctl.c @@ -692,9 +692,9 @@ static int print_user_status_info(sd_bus *bus, const char *path, bool *new_line) static int print_seat_status_info(sd_bus *bus, const char *path, bool *new_line) { static const struct bus_properties_map map[] = { - { "Id", "s", NULL, offsetof(SeatStatusInfo, id) }, + { "Id", "s", NULL, offsetof(SeatStatusInfo, id) }, { "ActiveSession", "(so)", prop_map_first_of_struct, offsetof(SeatStatusInfo, active_session) }, - { "Sessions", "a(so)", prop_map_sessions_strv, offsetof(SeatStatusInfo, sessions) }, + { "Sessions", "a(so)", prop_map_sessions_strv, offsetof(SeatStatusInfo, sessions) }, {} };