ref: b7be695d5c858054518ed7a2306611f60fa30564
parent: 3f522c745a91dabfa577b4bf1045e58fa436066e
author: cinap_lenrek <[email protected]>
date: Mon Feb 3 20:58:17 EST 2014
hjfs: fix wrong channel size for syncb (fixes amd64 crash)
--- a/sys/src/cmd/hjfs/buf.c
+++ b/sys/src/cmd/hjfs/buf.c
@@ -246,7 +246,7 @@
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);
}