1
0
Fork 0
forked from wry/wry

SyncobjCtx: add from_dev_t

This commit is contained in:
Julian Orth 2026-03-11 11:48:29 +01:00
parent 0a4ce7e458
commit 7192905158
3 changed files with 24 additions and 19 deletions

View file

@ -151,6 +151,8 @@ pub enum DrmError {
QueueSequence(#[source] OsError),
#[error("Could not stat the DRM fd")]
Stat(#[source] OsError),
#[error("Device has no device nodes")]
NoDeviceNodes,
}
fn render_node_name(fd: c::c_int) -> Result<Ustring, DrmError> {