cwfs: fixed memsize()

aiju 2011-07-22 11:53:47 +02:00
parent b2a8db846b
commit 4636a1e21a
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ memsize(void)
}
}
Bterm(bp);
if (pgsize > 0 && userused > userpgs)
if (pgsize > 0 && userused < userpgs)
return (userpgs - userused)*pgsize;
}
return 64*MB;