summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/dev/glue/kmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/dev/glue/kmem.c b/linux/dev/glue/kmem.c
index 3a9d260..9f0412f 100644
--- a/linux/dev/glue/kmem.c
+++ b/linux/dev/glue/kmem.c
@@ -550,7 +550,7 @@ vfree (void *addr)
struct vmalloc_struct *p;
p = vmalloc_list_lookup ((vm_offset_t) addr);
- if (p)
+ if (!p)
panic ("vmalloc_list_lookup failure");
kmem_free (kernel_map, addr, p->size);