summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2009-12-09 16:57:38 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2009-12-09 16:57:38 +0000
commit162d183ea683d0a87e08f92bb075d26f504d7a76 (patch)
tree8b05a357a02859e01dce2a368cbf6732ea291fc4 /lib
parentba4890abf2f766ac715135a2a4b42895a90a5a9b (diff)
typo in the !privsep path, from David Coppa (dcoppa at mail dot com);
thanks. ok matthieu@
Diffstat (limited to 'lib')
-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 b96357cde..83a985a8f 100644
--- a/lib/libdrm/xf86drm.c
+++ b/lib/libdrm/xf86drm.c
@@ -283,7 +283,7 @@ static int drmOpenDevice(long dev, int minor, int type)
}
#ifndef X_PRIVSEP
- fb = open(buf, O_RDWR, 0);
+ fd = open(buf, O_RDWR, 0);
#else
fd = priv_open_device(buf);
#endif