Do not remove(3) the device entry if open fails. ok oga@

This commit is contained in:
matthieu
2010-12-22 21:34:51 +00:00
parent d55f4a9f49
commit cc84c83945

View File

@@ -293,7 +293,7 @@ static int drmOpenDevice(long dev, int minor, int type)
return fd;
drmMsg("drmOpenDevice: Open failed\n");
remove(buf);
return -errno;
}