venti: fix fprint format string

This commit is contained in:
Noam Preil 2021-09-27 04:19:00 +00:00
parent d43d79bda4
commit df25039bb3

View file

@ -293,7 +293,7 @@ initicache(u32int mem)
scache = 16; scache = 16;
if(entries < 1000) if(entries < 1000)
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.clean.prev = icache.clean.next = &icache.clean;
icache.dirty.prev = icache.dirty.next = &icache.dirty; icache.dirty.prev = icache.dirty.next = &icache.dirty;