Re: Call to mmap Failing in SVGALIB

From: Joseph Cosby
Date: Mon Nov 01 2004 - 12:08:26 EST


Are you using version 1.4.3 of svgalib?
If so, please edit line 1956 of vga.c to read

if ((long) GM == -1) {

instead of

if ((long) GM < 0) {


And tell me if it helps. If not, please tell me (if you can) which mmap
call fails.


--
Matan Ziv-Av. matan@xxxxxxxxxxx


Thank you for this suggestion. When I implement this change then everything appears to work correctly.

Thank you for your help,
Joseph

_________________________________________________________________
Don?t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/