shithub: 9ferno

Download patch

ref: be096f83bb3ba11ce6a50c251a8efdf165404a90
parent: 16593a0c2e42518ea48f64b0c3097e9c71eaf0ae
author: 9ferno <gophone2015@gmail.com>
date: Tue Aug 10 17:47:50 EDT 2021

corrected debug print

--- a/os/pc64/main.c	Tue Aug 10 17:41:19 2021
+++ b/os/pc64/main.c	Tue Aug 10 17:47:50 2021
@@ -312,7 +312,7 @@
 		pcnt = 70;
 	conf.ialloc = (((conf.npage*(100-pcnt))/100)/2)*BY2PG;
 	conf.nproc = 100 + ((conf.npage*BY2PG)/MiB)*5;
-	print("conf.npage %d conf.ialloc %d conf.nproc %d\n",
+	print("conf.npage %d conf.ialloc %ud conf.nproc %d\n",
 			conf.npage, conf.ialloc, conf.nproc);
 }