shithub: riscv

Download patch

ref: 05f721e9987791aae8e07dd4435f04df6ce33c77
parent: 7776180407351d8b34e8110123a579dca5f8d918
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Jan 6 15:21:50 EST 2018

venti: fix wrong channel element size for amd64 (thanks mycroftiv)

--- a/sys/src/cmd/venti/srv/bloom.c
+++ b/sys/src/cmd/venti/srv/bloom.c
@@ -251,6 +251,6 @@
 startbloomproc(Bloom *b)
 {
 	b->writechan = chancreate(sizeof(void*), 0);
-	b->writedonechan = chancreate(sizeof(void*), 0);
+	b->writedonechan = chancreate(sizeof(ulong), 0);
 	vtproc(bloomwriteproc, b);	
 }