aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xfree86/int10
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-05-27 06:18:40 +0000
committermarha <marha@users.sourceforge.net>2010-05-27 06:18:40 +0000
commit80cb6bca9f771ef15c00cc41af2b9f315d66258d (patch)
tree3e011c7a2ef76372082dcba8d8cb6c9bd942b89f /xorg-server/hw/xfree86/int10
parentfade1b113f18f3fd26c3c01ca4543effa80b9b62 (diff)
downloadvcxsrv-80cb6bca9f771ef15c00cc41af2b9f315d66258d.tar.gz
vcxsrv-80cb6bca9f771ef15c00cc41af2b9f315d66258d.tar.bz2
vcxsrv-80cb6bca9f771ef15c00cc41af2b9f315d66258d.zip
xserver git update 27/5/2010
Diffstat (limited to 'xorg-server/hw/xfree86/int10')
-rw-r--r--xorg-server/hw/xfree86/int10/helper_mem.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/xorg-server/hw/xfree86/int10/helper_mem.c b/xorg-server/hw/xfree86/int10/helper_mem.c
index b95b56a93..610cd42ac 100644
--- a/xorg-server/hw/xfree86/int10/helper_mem.c
+++ b/xorg-server/hw/xfree86/int10/helper_mem.c
@@ -296,15 +296,12 @@ xf86int10GetBiosSegment(xf86Int10InfoPtr pInt, void *base)
unsigned i;
int cs = ~0;
int segments[4];
- const char * format;
segments[0] = MEM_RW(pInt, (0x10 << 2) + 2);
segments[1] = MEM_RW(pInt, (0x42 << 2) + 2);
segments[2] = V_BIOS >> 4;
segments[3] = ~0;
- format = "No V_BIOS found\n";
-
for (i = 0; segments[i] != ~0; i++) {
unsigned char * vbiosMem;
@@ -318,7 +315,7 @@ xf86int10GetBiosSegment(xf86Int10InfoPtr pInt, void *base)
}
if (segments[i] == ~0) {
- xf86DrvMsg(pInt->scrnIndex, X_ERROR, format, (unsigned long)cs << 4);
+ xf86DrvMsg(pInt->scrnIndex, X_ERROR, "No V_BIOS found\n");
return FALSE;
}