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:
Florian Müllner 2016-10-08 22:28:58 +02:00
parent e3dab70754
commit f1850e0d61

View File

@ -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.