mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-11 19:59:06 +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;
|
||||
|
||||
drmMsg("drmOpenDevice: Open failed\n");
|
||||
remove(buf);
|
||||
|
||||
return -errno;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user