svn commit: r255241 - head/sys/kern

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu Sep 5 11:59:23 UTC 2013


Author: pjd
Date: Thu Sep  5 11:59:23 2013
New Revision: 255241
URL: http://svnweb.freebsd.org/changeset/base/255241

Log:
  The fget() function now takes pointer to cap_rights_t, so change 0 to NULL.

Modified:
  head/sys/kern/vfs_aio.c

Modified: head/sys/kern/vfs_aio.c
==============================================================================
--- head/sys/kern/vfs_aio.c	Thu Sep  5 11:58:12 2013	(r255240)
+++ head/sys/kern/vfs_aio.c	Thu Sep  5 11:59:23 2013	(r255241)
@@ -2050,7 +2050,7 @@ sys_aio_cancel(struct thread *td, struct
 	struct vnode *vp;
 
 	/* Lookup file object. */
-	error = fget(td, uap->fd, 0, &fp);
+	error = fget(td, uap->fd, NULL, &fp);
 	if (error)
 		return (error);
 


More information about the svn-src-all mailing list