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

This commit is contained in:
Pawel Jakub Dawidek 2013-09-05 11:59:23 +00:00
parent ab568de789
commit 96a62209fb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=255241

View file

@ -2050,7 +2050,7 @@ sys_aio_cancel(struct thread *td, struct aio_cancel_args *uap)
struct vnode *vp;
/* Lookup file object. */
error = fget(td, uap->fd, 0, &fp);
error = fget(td, uap->fd, NULL, &fp);
if (error)
return (error);