Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2013 11:59:23 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r255241 - head/sys/kern
Message-ID:  <201309051159.r85BxNka076763@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309051159.r85BxNka076763>