diff options
Diffstat (limited to 'kalloc.c')
-rw-r--r-- | kalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -61,7 +61,7 @@ kfree(char *v) { struct run *r; - if((uint)v % PGSIZE || v < end || v2p(v) >= PHYSTOP) + if((uint)v % PGSIZE || v < end || V2P(v) >= PHYSTOP) panic("kfree"); // Fill with junk to catch dangling refs. |