shithub: riscv

Download patch

ref: f14e277c584f6f7d1967bb005976cd831b4b74de
parent: 3103efb8b06503825f3d14c5c5758a431794e4b3
author: spew <devnull@localhost>
date: Mon Mar 27 18:05:53 EDT 2017

hjfs: fix broken dprint

--- a/sys/src/cmd/hjfs/main.c
+++ b/sys/src/cmd/hjfs/main.c
@@ -70,12 +70,12 @@
 	va_list va;
 	int rc;
 
-	qlock(lk);
+	qlock(&lk);
 	va_start(va, fmt);
 	snprint(buf, 2048, "hjfs: %s", fmt);
 	rc = vfprint(2, buf, va);
 	va_end(va);
-	qunlock(lk);
+	qunlock(&lk);
 	return rc;
 }