Module Name:    xsrc
Committed By:   christos
Date:           Thu May 19 03:05:19 UTC 2011

Modified Files:
        xsrc/external/mit/xf86-video-crime/dist/src: crime_driver.c

Log Message:
include <sys/ioctl.h> for ioctl()
WTF? Fix pasto calling function from a different driver!?!


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 \
    xsrc/external/mit/xf86-video-crime/dist/src/crime_driver.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xf86-video-crime/dist/src/crime_driver.c
diff -u xsrc/external/mit/xf86-video-crime/dist/src/crime_driver.c:1.9 xsrc/external/mit/xf86-video-crime/dist/src/crime_driver.c:1.10
--- xsrc/external/mit/xf86-video-crime/dist/src/crime_driver.c:1.9	Thu Dec 16 23:19:50 2010
+++ xsrc/external/mit/xf86-video-crime/dist/src/crime_driver.c	Wed May 18 23:05:19 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: crime_driver.c,v 1.9 2010/12/17 04:19:50 mrg Exp $ */
+/* $NetBSD: crime_driver.c,v 1.10 2011/05/19 03:05:19 christos Exp $ */
 /*
  * Copyright (c) 2008 Michael Lorenz
  * All rights reserved.
@@ -40,6 +40,7 @@
 #include <sys/types.h>
 #include <sys/time.h>
 #include <sys/mman.h>
+#include <sys/ioctl.h>
 #include <dev/wscons/wsconsio.h>
 
 /* all driver need this */
@@ -520,7 +521,7 @@
 	xf86LoaderReqSymLists(fbSymbols, NULL);
 
 	if (xf86LoadSubModule(pScrn, "xaa") == NULL) {
-		PnozzFreeRec(pScrn);
+		CrimeFreeRec(pScrn);
 		return FALSE;
 	}
 	xf86LoaderReqSymLists(xaaSymbols, NULL);

Reply via email to