summaryrefslogtreecommitdiff
path: root/sys/ufs/ffs
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-03-20 16:56:13 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-03-20 16:56:13 +0000
commit5356c78e1c90e91f3645e93eb6efc366f055bbe4 (patch)
tree132c70f0dd83e0f7b0ee0e00134399125daa3750 /sys/ufs/ffs
parentdf71df1780a87be9af4be1b2d9e104868296263a (diff)
NULL is not a daddr_t
Diffstat (limited to 'sys/ufs/ffs')
-rw-r--r--sys/ufs/ffs/ffs_alloc.c4
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