summaryrefslogtreecommitdiff
path: root/xserver/hw/xfree86/os-support/bsd/bsd_init.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2010-07-31 17:47:51 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2010-07-31 17:47:51 +0000
commitdcc544d3fd76269289eb2c5ef7cc6d8024ad17ac (patch)
tree0f5167f189486d7f9de11eb2af8fd45196dc7ee7 /xserver/hw/xfree86/os-support/bsd/bsd_init.c
parentd99c6e5ed58d452a2e418eb2327f2cde83d8722f (diff)
Fix X -keepPriv by calling xf86OpenConsole() early enough on architectures
that don't have a separate /dev/xf86. Problem noticed by kettenis@ and krw@ ok kettenis@.
Diffstat (limited to 'xserver/hw/xfree86/os-support/bsd/bsd_init.c')
-rw-r--r--xserver/hw/xfree86/os-support/bsd/bsd_init.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xserver/hw/xfree86/os-support/bsd/bsd_init.c b/xserver/hw/xfree86/os-support/bsd/bsd_init.c
index ecde574e6..7200e9a03 100644
--- a/xserver/hw/xfree86/os-support/bsd/bsd_init.c
+++ b/xserver/hw/xfree86/os-support/bsd/bsd_init.c
@@ -170,11 +170,9 @@ xf86OpenConsole()
vtmode_t vtmode;
#endif
-#ifdef X_PRIVSEP
if (xf86Info.consoleFd != -1) {
return;
}
-#endif
if (serverGeneration == 1)
{
/* check if we are run with euid==0 */