diff options
author | dg <dg@FreeBSD.org> | 1995-09-08 13:52:55 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-09-08 13:52:55 +0000 |
commit | e7bafd34db326e22fb4f3c3167f4363c9b9cb52a (patch) | |
tree | a5ba794d7ac1434fd30bf7fa54f3980a8ded5e8a /sbin/newfs/newfs.c | |
parent | 3ecdc71d41fece27fac90190db49edaf3977eb35 (diff) | |
download | FreeBSD-src-e7bafd34db326e22fb4f3c3167f4363c9b9cb52a.zip FreeBSD-src-e7bafd34db326e22fb4f3c3167f4363c9b9cb52a.tar.gz |
Fixed error in maxcontig calculation that caused it to default to "1".
Diffstat (limited to 'sbin/newfs/newfs.c')
-rw-r--r-- | sbin/newfs/newfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |