svn commit: r233189 - projects/head_mfi/sys/dev/mfi

Doug Ambrisko ambrisko at FreeBSD.org
Mon Mar 19 18:41:44 UTC 2012


Author: ambrisko
Date: Mon Mar 19 18:41:43 2012
New Revision: 233189
URL: http://svn.freebsd.org/changeset/base/233189

Log:
  Update the pivot to >= 900000 to deal with the change in API for
  FreeBSD 9 and -current.
  
  Reviewed by:		sbruno

Modified:
  projects/head_mfi/sys/dev/mfi/mfi_linux.c

Modified: projects/head_mfi/sys/dev/mfi/mfi_linux.c
==============================================================================
--- projects/head_mfi/sys/dev/mfi/mfi_linux.c	Mon Mar 19 18:03:20 2012	(r233188)
+++ projects/head_mfi/sys/dev/mfi/mfi_linux.c	Mon Mar 19 18:41:43 2012	(r233189)
@@ -29,7 +29,7 @@ __FBSDID("$FreeBSD$");
 
 #include <sys/param.h>
 #include <sys/systm.h>
-#if __FreeBSD_version > 999999
+#if __FreeBSD_version >= 900000
 #include <sys/capability.h>
 #endif
 #include <sys/conf.h>
@@ -99,7 +99,7 @@ mfi_linux_ioctl(struct thread *p, struct
 		break;
 	}
 
-#if __FreeBSD_version > 999999
+#if __FreeBSD_version >= 900000
 	if ((error = fget(p, args->fd, CAP_IOCTL, &fp)) != 0)
 #else
 	if ((error = fget(p, args->fd, &fp)) != 0)


More information about the svn-src-projects mailing list