diff options
author | eivind <eivind@FreeBSD.org> | 1999-12-21 11:14:12 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1999-12-21 11:14:12 +0000 |
commit | 8befc1a2b84269c73c5f4bb55d5961c9c1e64866 (patch) | |
tree | aa42526cc605d366c46f08ae42d166e1905b2fe7 /sys/ufs | |
parent | d6a0d6a22e9b0ac0457c1471bc84b9240b8b5242 (diff) | |
download | FreeBSD-src-8befc1a2b84269c73c5f4bb55d5961c9c1e64866.zip FreeBSD-src-8befc1a2b84269c73c5f4bb55d5961c9c1e64866.tar.gz |
Change incorrect NULLs to 0s
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ffs/ffs_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c index f676937..c3e1c31 100644 --- a/sys/ufs/ffs/ffs_alloc.c +++ b/sys/ufs/ffs/ffs_alloc.c @@ -1106,7 +1106,7 @@ ffs_clusteralloc(ip, cg, bpref, len) fs = ip->i_fs; if (fs->fs_maxcluster[cg] < len) - return (NULL); + return (0); if (bread(ip->i_devvp, fsbtodb(fs, cgtod(fs, cg)), (int)fs->fs_cgsize, NOCRED, &bp)) goto fail; |