From f1850e0d617c9f40b06e6b168516334f55610117 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 8 Oct 2016 22:28:58 +0200 Subject: [PATCH] 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. --- src/backends/native/meta-monitor-manager-kms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/native/meta-monitor-manager-kms.c b/src/backends/native/meta-monitor-manager-kms.c index 9daa0105d..75d417da7 100644 --- a/src/backends/native/meta-monitor-manager-kms.c +++ b/src/backends/native/meta-monitor-manager-kms.c @@ -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.