summaryrefslogtreecommitdiffstats
path: root/sys/security/mac_biba
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2002-11-02 20:16:35 +0000
committermux <mux@FreeBSD.org>2002-11-02 20:16:35 +0000
commita79bd334d7e17ece4fe4564b52efa3cc9c299a31 (patch)
tree89ebfb049a461b184e336bfd2a7d9c943297f4eb /sys/security/mac_biba
parentd6d0eadd15866d8b882ed68132d1d77ec294659a (diff)
downloadFreeBSD-src-a79bd334d7e17ece4fe4564b52efa3cc9c299a31.zip
FreeBSD-src-a79bd334d7e17ece4fe4564b52efa3cc9c299a31.tar.gz
Fix some warnings on 64 bit architectures. The vn_extattr_get()
function takes an int * parameter, not a size_t * parameter. Arguably, it should rather take a size_t *, but that would require changing the uio_resid field of struct uio to be a size_t instead of an int, which I don't want to do that close to 5.0-RELEASE. Reviewed by: rwatson
Diffstat (limited to 'sys/security/mac_biba')
-rw-r--r--sys/security/mac_biba/mac_biba.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/security/mac_biba/mac_biba.c b/sys/security/mac_biba/mac_biba.c
index f60028e..4dd9d9a 100644
--- a/sys/security/mac_biba/mac_biba.c
+++ b/sys/security/mac_biba/mac_biba.c
@@ -925,8 +925,7 @@ mac_biba_associate_vnode_extattr(struct mount *mp, struct label *fslabel,
struct vnode *vp, struct label *vlabel)
{
struct mac_biba temp, *source, *dest;
- size_t buflen;
- int error;
+ int buflen, error;
source = SLOT(fslabel);
dest = SLOT(vlabel);
OpenPOWER on IntegriCloud