summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-02-04 01:58:17 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2014-02-04 01:58:17 +0100
commitb7be695d5c858054518ed7a2306611f60fa30564 (patch)
tree5bdb5799f7face0f473820830025fa0d7c149527
parent3f522c745a91dabfa577b4bf1045e58fa436066e (diff)
downloadplan9front-b7be695d5c858054518ed7a2306611f60fa30564.tar.xz
hjfs: fix wrong channel size for syncb (fixes amd64 crash)
-rw-r--r--sys/src/cmd/hjfs/buf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/hjfs/buf.c b/sys/src/cmd/hjfs/buf.c
index 46faa0991..cbb962f28 100644
--- a/sys/src/cmd/hjfs/buf.c
+++ b/sys/src/cmd/hjfs/buf.c
@@ -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);
}