ref: 1522f722811d1ddb214db3e17a1fa97d6c57b91f
parent: aeabc449b3f7ae40f97793990e6b1850467129d4
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Apr 6 19:18:35 EDT 2024
pc, pc64: fix rlock: nlocks 1 print from vga bootscreenconf() must not be called with locks held as we are calling into devenv which arquires rwlocks.
--- a/sys/src/9/pc/screen.c
+++ b/sys/src/9/pc/screen.c
@@ -147,10 +147,10 @@
error(err);
vgaimageinit(chan);
- bootscreenconf(scr);
-
unlock(&vgascreenlock);
poperror();
+
+ bootscreenconf(scr);
drawcmap();
--
⑨