summaryrefslogtreecommitdiff
path: root/hw/xfree86/os-support/linux/int10/linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/os-support/linux/int10/linux.c')
-rw-r--r--hw/xfree86/os-support/linux/int10/linux.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/hw/xfree86/os-support/linux/int10/linux.c b/hw/xfree86/os-support/linux/int10/linux.c
index 11fe19f67..bacfa9032 100644
--- a/hw/xfree86/os-support/linux/int10/linux.c
+++ b/hw/xfree86/os-support/linux/int10/linux.c
@@ -1,7 +1,7 @@
-/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/int10/linux.c,v 1.31 2003/09/24 02:43:35 dawes Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/linux/int10/linux.c,v 1.32 2004/02/05 18:24:59 eich Exp $ */
/*
* linux specific part of the int10 module
- * Copyright 1999 Egbert Eich
+ * Copyright 1999, 2000, 2001, 2002, 2003, 2004 Egbert Eich
*/
#include "xf86.h"
#include "xf86_OSproc.h"
@@ -212,7 +212,9 @@ xf86ExtendedInitInt10(int entityIndex, int Flags)
} else
((linuxInt10Priv*)pInt->private)->base_high = NULL;
- MapCurrentInt10(pInt);
+ if (!MapCurrentInt10(pInt))
+ goto error3;
+
Int10Current = pInt;
#ifdef DEBUG