aboutsummaryrefslogtreecommitdiff
path: root/backend/session
diff options
context:
space:
mode:
authorAntonin Décimo <antonin.decimo@gmail.com>2020-06-04 14:33:32 +0200
committerSimon Ser <contact@emersion.fr>2020-07-27 10:49:19 +0200
commitd9bb792794ce476ac79fdc0971fc01aeb3e5c8a0 (patch)
tree21ebffd12ec70da5a2fe757b3418ba523846f042 /backend/session
parent39fd2335bf47ca33e28f61ec7a194c15a9ecc61e (diff)
Fix incorrect format parameters
Diffstat (limited to 'backend/session')
-rw-r--r--backend/session/logind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/session/logind.c b/backend/session/logind.c
index b5acd4e4..00babcae 100644
--- a/backend/session/logind.c
+++ b/backend/session/logind.c
@@ -142,7 +142,7 @@ static bool logind_change_vt(struct wlr_session *base, unsigned vt) {
"/org/freedesktop/login1/seat/seat0", "org.freedesktop.login1.Seat", "SwitchTo",
&error, &msg, "u", (uint32_t)vt);
if (ret < 0) {
- wlr_log(WLR_ERROR, "Failed to change to vt '%d'", vt);
+ wlr_log(WLR_ERROR, "Failed to change to vt '%u'", vt);
}
sd_bus_error_free(&error);