summaryrefslogtreecommitdiff
path: root/src/delta/delta.c
diff options
context:
space:
mode:
authorDjalal Harouni <tixxdz@opendz.org>2013-12-21 15:49:46 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-12-21 18:35:27 -0500
commit016284c352084cdbf856905704070c1f30970f58 (patch)
tree7a03bcbd5f9e627bc4397641352a71b87cc92c40 /src/delta/delta.c
parent841aa8c0b484b96654b95d3c4e936e37da4c7dda (diff)
loginctl: correctly show session IDs on session-status
Commit f8f14b3654bcd introduced a regression that makes loginctl session-status to not show the correct session ID(s) In print_session_status_info() the map[] array, element "Seat" receives the offset of the "id" in "SessionStatusInfo" struct instead of the offset of the "seat" member. This will cause prop_map_first_of_struct() function to overwrite the SessionStatusInfo.id memory with seats if there are any. Fix this typo by using the "seat" member. Before: - tixxdz (1000) Since: Sat 2013-12-21 10:07:23 CET; 5h 26min ago Leader: 1265 (sshd) After: 1 - tixxdz (1000) Since: Sat 2013-12-21 10:07:23 CET; 5h 26min ago Leader: 1265 (sshd)
Diffstat (limited to 'src/delta/delta.c')
0 files changed, 0 insertions, 0 deletions