shithub: riscv

Download patch

ref: df25039bb39c180ad8fd8bdfdc105f61d16eae0e
parent: d43d79bda454212f92fcec1ad4d049ecdc66e043
author: Noam Preil <noam@pixelhero.dev>
date: Mon Sep 27 00:19:00 EDT 2021

venti: fix fprint format string

--- a/sys/src/cmd/venti/srv/icache.c
+++ b/sys/src/cmd/venti/srv/icache.c
@@ -293,7 +293,7 @@
 		scache = 16;
 	if(entries < 1000)
 		entries = 1000;
-fprint(2, "icache %,lud bytes = %,lud entries; %lud scache\n", mem, entries, scache);
+	fprint(2, "icache %,ud bytes = %,ud entries; %ud scache\n", mem, entries, scache);
 
 	icache.clean.prev = icache.clean.next = &icache.clean;
 	icache.dirty.prev = icache.dirty.next = &icache.dirty;