drm: Make DRM errors print the actual access error
This commit is contained in:
parent
b9201cd0b5
commit
91b03f1e37
|
@ -19,7 +19,7 @@ pub enum Error {
|
|||
#[error("Failed to aquire DRM master")]
|
||||
DrmMasterFailed,
|
||||
/// The `DrmDevice` encountered an access error
|
||||
#[error("DRM access error: {errmsg} on device `{dev:?}`")]
|
||||
#[error("DRM access error: {errmsg} on device `{dev:?}` ({source:})")]
|
||||
Access {
|
||||
/// Error message associated to the access error
|
||||
errmsg: &'static str,
|
||||
|
|
Loading…
Reference in New Issue