code: 9ferno

Download patch

ref: a069ed018555d165681cf3f02a2f00f565d9150f
parent: 358eb31bb6e86f153a8a9261256a99ead7f1a08e
author: joe9 <joe9mail@gmail.com>
date: Tue Jul 13 06:25:53 EDT 2021

fixed print type warning

--- a/os/pc64/memory.c
+++ b/os/pc64/memory.c
@@ -533,7 +533,7 @@
 					continue;
 				pde = *pd;
 				pt = (uintptr*)(pde&(~0xFFF));
-				print("\t\tpd 0x%p has 0x%zx page base address 0x%4\n",
+				print("\t\tpd 0x%p has 0x%zx page base address 0x%p\n",
 					pd, pde, pt);
 				ept = pt + 512;
 				for(; pt != ept; pt++){