logind: clang-format
This commit is contained in:
parent
daffed0955
commit
7d785ea993
1 changed files with 1 additions and 2 deletions
|
@ -163,8 +163,7 @@ static int switch_session(struct libseat *base, int s) {
|
||||||
sd_bus_message *msg = NULL;
|
sd_bus_message *msg = NULL;
|
||||||
sd_bus_error error = SD_BUS_ERROR_NULL;
|
sd_bus_error error = SD_BUS_ERROR_NULL;
|
||||||
|
|
||||||
int ret = sd_bus_call_method(session->bus, "org.freedesktop.login1",
|
int ret = sd_bus_call_method(session->bus, "org.freedesktop.login1", session->seat_path,
|
||||||
session->seat_path,
|
|
||||||
"org.freedesktop.login1.Seat", "SwitchTo", &error, &msg, "u",
|
"org.freedesktop.login1.Seat", "SwitchTo", &error, &msg, "u",
|
||||||
(uint32_t)s);
|
(uint32_t)s);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue