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/ufs/ffs/ffs_inode.c | |
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/ufs/ffs/ffs_inode.c')
-rw-r--r-- | sys/ufs/ffs/ffs_inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ufs/ffs/ffs_inode.c b/sys/ufs/ffs/ffs_inode.c index b474bc5..8821440 100644 --- a/sys/ufs/ffs/ffs_inode.c +++ b/sys/ufs/ffs/ffs_inode.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ffs_inode.c 8.13 (Berkeley) 4/21/95 - * $Id: ffs_inode.c,v 1.51 1999/01/06 18:18:06 bde Exp $ + * $Id: ffs_inode.c,v 1.52 1999/01/07 16:14:16 bde Exp $ */ #include "opt_quota.h" @@ -490,8 +490,8 @@ ffs_indirtrunc(ip, lbn, dbn, lastbn, level, countp) if (nb == 0) continue; if (level > SINGLE) { - if (error = ffs_indirtrunc(ip, nlbn, fsbtodb(fs, nb), - (ufs_daddr_t)-1, level - 1, &blkcount)) + if ((error = ffs_indirtrunc(ip, nlbn, fsbtodb(fs, nb), + (ufs_daddr_t)-1, level - 1, &blkcount)) != 0) allerror = error; blocksreleased += blkcount; } |