diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-02-04 01:58:17 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-02-04 01:58:17 +0100 |
commit | b7be695d5c858054518ed7a2306611f60fa30564 (patch) | |
tree | 5bdb5799f7face0f473820830025fa0d7c149527 | |
parent | 3f522c745a91dabfa577b4bf1045e58fa436066e (diff) | |
download | plan9front-b7be695d5c858054518ed7a2306611f60fa30564.tar.xz |
hjfs: fix wrong channel size for syncb (fixes amd64 crash)
-rw-r--r-- | sys/src/cmd/hjfs/buf.c | 2 |
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); } |