summaryrefslogtreecommitdiff
path: root/lib/libdrm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libdrm')
-rw-r--r--lib/libdrm/xf86drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libdrm/xf86drm.c b/lib/libdrm/xf86drm.c
index 7c3bb3929..79313ed28 100644
--- a/lib/libdrm/xf86drm.c
+++ b/lib/libdrm/xf86drm.c
@@ -293,7 +293,7 @@ static int drmOpenDevice(long dev, int minor, int type)
return fd;
drmMsg("drmOpenDevice: Open failed\n");
- remove(buf);
+
return -errno;
}