mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
cwfs: fixed memsize()
This commit is contained in:
parent
b2a8db846b
commit
4636a1e21a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue