mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
Fix incorrect format parameters
This commit is contained in:
parent
39fd2335bf
commit
d9bb792794
13 changed files with 45 additions and 43 deletions
|
|
@ -800,7 +800,7 @@ bool drm_connector_set_mode(struct wlr_drm_connector *conn,
|
|||
return false;
|
||||
}
|
||||
|
||||
wlr_log(WLR_INFO, "Modesetting '%s' with '%ux%u@%u mHz'",
|
||||
wlr_log(WLR_INFO, "Modesetting '%s' with '%" PRId32 "x%" PRId32 "@%" PRId32 "mHz'",
|
||||
conn->output.name, wlr_mode->width, wlr_mode->height,
|
||||
wlr_mode->refresh);
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ static void registry_global(void *data, struct wl_registry *registry,
|
|||
uint32_t name, const char *iface, uint32_t version) {
|
||||
struct wlr_wl_backend *wl = data;
|
||||
|
||||
wlr_log(WLR_DEBUG, "Remote wayland global: %s v%d", iface, version);
|
||||
wlr_log(WLR_DEBUG, "Remote wayland global: %s v%" PRIu32, iface, version);
|
||||
|
||||
if (strcmp(iface, wl_compositor_interface.name) == 0) {
|
||||
wl->compositor = wl_registry_bind(registry, name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue