diff options
author | dillon <dillon@FreeBSD.org> | 1999-01-28 00:57:57 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-01-28 00:57:57 +0000 |
commit | 975fba8a24263006afbbb4e38dd6bf515bdf4b43 (patch) | |
tree | da30cbbe5e5f3c775029e38108f63aa8b8cd17b7 /sys/miscfs/nullfs | |
parent | 4cc7d69521756e89ce3e5ea28211fda13fc4c9ff (diff) | |
download | FreeBSD-src-975fba8a24263006afbbb4e38dd6bf515bdf4b43.zip FreeBSD-src-975fba8a24263006afbbb4e38dd6bf515bdf4b43.tar.gz |
Fix warnings in preparation for adding -Wall -Wcast-qual to the
kernel compile
Diffstat (limited to 'sys/miscfs/nullfs')
-rw-r--r-- | sys/miscfs/nullfs/null_vnops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/miscfs/nullfs/null_vnops.c b/sys/miscfs/nullfs/null_vnops.c index 514ba82..db5c341 100644 --- a/sys/miscfs/nullfs/null_vnops.c +++ b/sys/miscfs/nullfs/null_vnops.c @@ -37,11 +37,11 @@ * * Ancestors: * @(#)lofs_vnops.c 1.2 (Berkeley) 6/18/92 - * $Id: null_vnops.c,v 1.30 1998/12/07 21:58:32 archie Exp $ + * $Id: null_vnops.c,v 1.31 1999/01/27 22:42:06 dillon Exp $ * ...and... * @(#)null_vnodeops.c 1.20 92/07/07 UCLA Ficus project * - * $Id: null_vnops.c,v 1.30 1998/12/07 21:58:32 archie Exp $ + * $Id: null_vnops.c,v 1.31 1999/01/27 22:42:06 dillon Exp $ */ /* @@ -452,7 +452,7 @@ null_getattr(ap) { int error; - if (error = null_bypass((struct vop_generic_args *)ap)) + if ((error = null_bypass((struct vop_generic_args *)ap)) != 0) return (error); /* Requires that arguments be restored. */ ap->a_vap->va_fsid = ap->a_vp->v_mount->mnt_stat.f_fsid.val[0]; |