- if (errcode->wr) {
- kprint("Kernel attempted to write to page\n", 0);
- } else kprint("Kernel attempted to read from page\n", 0);
- if (errcode->id) {
+ if (errcode.wr) {
+ kprint("Fault occurred while writing to memory\n", 0);
+ } else {
+ kprint("Fault occurred while reading from memory\n", 0);
+ }
+ if (errcode.id) {