Fix copy-paste error breaking FreeBSD head
Resolve the FreeBSD head build failure. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ryan Moeller <ryan@iXsystems.com> Closes #10480
This commit is contained in:
parent
a8bd6dcf87
commit
1c08fa8b5b
|
@ -1914,11 +1914,11 @@ zfs_vget(vfs_t *vfsp, ino_t ino, int flags, vnode_t **vpp)
|
|||
return (err);
|
||||
}
|
||||
|
||||
#if __FreeBSD_version >= 1300098
|
||||
static int zfs_checkexp(vfs_t *vfsp, struct sockaddr *nam, uint64_t *extflagsp,
|
||||
struct ucred **credanonp, int *numsecflavors, int *secflavors);
|
||||
#else
|
||||
static int
|
||||
#if __FreeBSD_version >= 1300098
|
||||
zfs_checkexp(vfs_t *vfsp, struct sockaddr *nam, uint64_t *extflagsp,
|
||||
struct ucred **credanonp, int *numsecflavors, int *secflavors)
|
||||
#else
|
||||
zfs_checkexp(vfs_t *vfsp, struct sockaddr *nam, int *extflagsp,
|
||||
struct ucred **credanonp, int *numsecflavors, int **secflavors)
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue