summaryrefslogtreecommitdiff
path: root/driver/xf86-video-modesetting
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2013-01-17 11:02:55 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2013-01-17 11:02:55 +0000
commite05e751f38a112e96cbcfeef64d3d7dc17d7b3b8 (patch)
treef738452cc88e70b4eb2d62413c502b8bc5f3e3f6 /driver/xf86-video-modesetting
parentf6b6973db360d04c4f0bdcb3776b1bc00f789716 (diff)
Fix previous.
Diffstat (limited to 'driver/xf86-video-modesetting')
-rw-r--r--driver/xf86-video-modesetting/src/driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/xf86-video-modesetting/src/driver.c b/driver/xf86-video-modesetting/src/driver.c
index a586ee45d..b48d15729 100644
--- a/driver/xf86-video-modesetting/src/driver.c
+++ b/driver/xf86-video-modesetting/src/driver.c
@@ -65,7 +65,7 @@
#ifdef X_PRIVSEP
extern int priv_open_device(const char *);
#else
-#define priv_open_device(n) open(n,O_RDWR|O_NONBLOCK|O_EXCL)
+#define priv_open_device(n) open(n, O_RDWR, 0)
#endif
static void AdjustFrame(ADJUST_FRAME_ARGS_DECL);