hjfs: fix wrong channel size for syncb (fixes amd64 crash)
This commit is contained in:
parent
3f522c745a
commit
b7be695d5c
|
@ -246,7 +246,7 @@ bufinit(int nbuf)
|
||||||
markfree(b++);
|
markfree(b++);
|
||||||
getb = chancreate(sizeof(BufReq), 0);
|
getb = chancreate(sizeof(BufReq), 0);
|
||||||
putb = chancreate(sizeof(Buf *), 32);
|
putb = chancreate(sizeof(Buf *), 32);
|
||||||
syncb = chancreate(sizeof(ulong), 0);
|
syncb = chancreate(sizeof(void*), 0);
|
||||||
proccreate(bufproc, nil, mainstacksize);
|
proccreate(bufproc, nil, mainstacksize);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue