backend-drm: print failing output in error message
Print the name of the failing output to help debugging. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
This commit is contained in:
parent
72e2da24f9
commit
98e398e78b
|
@ -2089,7 +2089,8 @@ drm_backend_output_configure(struct weston_output *output,
|
|||
free(s);
|
||||
|
||||
if (api->set_mode(output, mode, modeline) < 0) {
|
||||
weston_log("Cannot configure an output using weston_drm_output_api.\n");
|
||||
weston_log("Cannot configure output \"%s\" using weston_drm_output_api.\n",
|
||||
output->name);
|
||||
free(modeline);
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue