--- ../../svgalib-1.4.3/src/vga.c	2001-05-29 17:37:55.000000000 +0300
+++ src/vga.c	2001-06-24 14:10:22.000000000 +0300
@@ -1953,10 +1953,12 @@
     };
     __vga_mmap();
 
+#if 0 /* What is this for? */
     if ((long) GM < 0) {
 	printf("svgalib: mmap error rrr\n");
 	exit(1);
     }
+#endif
     /* disable video */
     vga_screenoff();
 
@@ -3914,16 +3916,16 @@
 
 #define ML_GETINT(x) \
 	ptr = strtok(NULL, " "); if(!ptr) break; \
-	mmt.##x = atoi(ptr);
+	x = atoi(ptr);
 
-	    ML_GETINT(HDisplay);
-	    ML_GETINT(HSyncStart);
-	    ML_GETINT(HSyncEnd);
-	    ML_GETINT(HTotal);
-	    ML_GETINT(VDisplay);
-	    ML_GETINT(VSyncStart);
-	    ML_GETINT(VSyncEnd);
-	    ML_GETINT(VTotal);
+	    ML_GETINT(mmt.HDisplay);
+	    ML_GETINT(mmt.HSyncStart);
+	    ML_GETINT(mmt.HSyncEnd);
+	    ML_GETINT(mmt.HTotal);
+	    ML_GETINT(mmt.VDisplay);
+	    ML_GETINT(mmt.VSyncStart);
+	    ML_GETINT(mmt.VSyncEnd);
+	    ML_GETINT(mmt.VTotal);
 	    mmt.flags = 0;
 	    while ((ptr = strtok(NULL, " "))) {
 		for (i = 0; i < ML_NR_OPTS; i++)
