diff --git a/video/out/drm_common.c b/video/out/drm_common.c index 3462a5d4de..d3a05f56b0 100644 --- a/video/out/drm_common.c +++ b/video/out/drm_common.c @@ -194,7 +194,7 @@ bool kms_setup(struct kms *kms, const char *device_path, int connector_id, int m return false; } - if (!setup_connector(kms, res, mode_id)) + if (!setup_connector(kms, res, connector_id)) return false; if (!setup_crtc(kms, res)) return false;