mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-15 13:49:17 +00:00
Do not remove(3) the device entry if open fails. ok oga@
This commit is contained in:
@@ -293,7 +293,7 @@ static int drmOpenDevice(long dev, int minor, int type)
|
|||||||
return fd;
|
return fd;
|
||||||
|
|
||||||
drmMsg("drmOpenDevice: Open failed\n");
|
drmMsg("drmOpenDevice: Open failed\n");
|
||||||
remove(buf);
|
|
||||||
return -errno;
|
return -errno;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user