eh?
This commit is contained in:
parent
31a97ff50b
commit
d34cac297a
@ -39,7 +39,7 @@
|
||||
if (sstrlen(input, 15) > 4) {
|
||||
char *number = input + 4;
|
||||
u32 result = digit_conver(number);
|
||||
if (result < 10000) {
|
||||
if (result < 10000 || result == -1) {
|
||||
kprint("That memory address is reserved by the Kernel, addresses must be 10000+");
|
||||
} else {
|
||||
umem_head = add_node( umem_head, result, 0x100, true, global_id++);
|
||||
|
Reference in New Issue
Block a user