mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 12:02:04 +00:00
monitor-manager-kms: Fix compiler warning
As the m format specifier doesn't consume any arguments, the number of varargs currently doesn't match the number of specifiers; the failed transform may be relevant, so include it in the message instead of removing the excess argument.
This commit is contained in:
parent
e3dab70754
commit
f1850e0d61
@ -1363,7 +1363,7 @@ meta_monitor_manager_kms_apply_configuration (MetaMonitorManager *manager,
|
||||
crtc_kms->rotation_prop_id,
|
||||
crtc_kms->rotation_map[hw_transform]) != 0)
|
||||
{
|
||||
g_warning ("Failed to apply DRM plane transform: %m", hw_transform);
|
||||
g_warning ("Failed to apply DRM plane transform %d: %m", hw_transform);
|
||||
|
||||
/* Blacklist this HW transform, we want to fallback to our
|
||||
* fallbacks in this case.
|
||||
|
Loading…
Reference in New Issue
Block a user