ref: 05915e0626ff874f3c7786a46fc8d3e025ae1788
parent: 7c7ce1f9c1bd9ddd7b381bb2dd0a84d6c66074f5
author: mkf <mkf@cloud9p.org>
date: Fri Nov 24 03:59:20 EST 2023
cmd/check: small fix
--- a/cmd/check.c
+++ b/cmd/check.c
@@ -21,7 +21,7 @@
printf("a location in memap = %x\n", ((int)(a) - MEM_BEG) / BLOCKSIZE);
printf("b location in memap = %x\n", ((int)(b) - MEM_BEG) / BLOCKSIZE);
- printf("c location in memap = %x\n", ((int)(b) - MEM_BEG) / BLOCKSIZE);
+ printf("c location in memap = %x\n", ((int)(c) - MEM_BEG) / BLOCKSIZE);
printf("memap[a] = %x\n", memap[(((int)(a) - MEM_BEG) / BLOCKSIZE) + 1]);
printf("memap[b] = %x\n", memap[(((int)(b) - MEM_BEG) / BLOCKSIZE) + 1]);