hjfs: fix wrong channel size for syncb (fixes amd64 crash)

This commit is contained in:
cinap_lenrek 2014-02-04 01:58:17 +01:00
parent 3f522c745a
commit b7be695d5c

View file

@ -246,7 +246,7 @@ bufinit(int nbuf)
markfree(b++);
getb = chancreate(sizeof(BufReq), 0);
putb = chancreate(sizeof(Buf *), 32);
syncb = chancreate(sizeof(ulong), 0);
syncb = chancreate(sizeof(void*), 0);
proccreate(bufproc, nil, mainstacksize);
}