From e7bafd34db326e22fb4f3c3167f4363c9b9cb52a Mon Sep 17 00:00:00 2001 From: dg Date: Fri, 8 Sep 1995 13:52:55 +0000 Subject: Fixed error in maxcontig calculation that caused it to default to "1". --- sbin/newfs/newfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/newfs/newfs.c b/sbin/newfs/newfs.c index 3714e95..ed74706 100644 --- a/sbin/newfs/newfs.c +++ b/sbin/newfs/newfs.c @@ -474,7 +474,7 @@ main(argc, argv) * transfer size permitted by the controller or buffering. */ if (maxcontig == 0) - maxcontig = MAX(1, MIN(MAXPHYS, MAXBSIZE) / bsize - 1); + maxcontig = MAX(1, MAXPHYS / bsize - 1); if (density == 0) density = NFPI * fsize; if (minfree < MINFREE && opt != FS_OPTSPACE) { -- cgit v1.1