diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-03-20 16:56:13 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-03-20 16:56:13 +0000 |
commit | 5356c78e1c90e91f3645e93eb6efc366f055bbe4 (patch) | |
tree | 132c70f0dd83e0f7b0ee0e00134399125daa3750 /sys/ufs/ffs | |
parent | df71df1780a87be9af4be1b2d9e104868296263a (diff) |
NULL is not a daddr_t
Diffstat (limited to 'sys/ufs/ffs')
-rw-r--r-- | sys/ufs/ffs/ffs_alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c index 9ddaf9f85f6..529fa1bc308 100644 --- a/sys/ufs/ffs/ffs_alloc.c +++ b/sys/ufs/ffs/ffs_alloc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_alloc.c,v 1.19 2001/02/21 23:24:30 csapuntz Exp $ */ +/* $OpenBSD: ffs_alloc.c,v 1.20 2001/03/20 16:56:12 art Exp $ */ /* $NetBSD: ffs_alloc.c,v 1.11 1996/05/11 18:27:09 mycroft Exp $ */ /* @@ -711,7 +711,7 @@ ffs_blkpref(ip, lbn, indx, bap) fs->fs_cgrotor = cg; return (fs->fs_fpg * cg + fs->fs_frag); } - return (NULL); + return (0); } /* * One or more previous blocks have been laid out. If less |