dossrv: fix falloc() for >31 bit sector numbers (thanks sl)
This commit is contained in:
parent
ecba7822e3
commit
0ba0820070
1 changed files with 2 additions and 1 deletions
|
@ -1683,7 +1683,8 @@ falloc(Xfs *xf)
|
||||||
{
|
{
|
||||||
Dosbpb *bp = xf->ptr;
|
Dosbpb *bp = xf->ptr;
|
||||||
Iosect *p;
|
Iosect *p;
|
||||||
int n, i, k;
|
int n, i;
|
||||||
|
vlong k;
|
||||||
|
|
||||||
n = bp->freeptr;
|
n = bp->freeptr;
|
||||||
for(;;){
|
for(;;){
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue