summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel/vm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/vm.c b/kernel/vm.c
index f7ca101..96f2ffa 100644
--- a/kernel/vm.c
+++ b/kernel/vm.c
@@ -405,8 +405,8 @@ copyinstr(pagetable_t pagetable, char *dst, uint64 srcva, uint64 max)
}
}
-char
-*map_kstack(uint64 kstack)
+char *
+map_kstack(uint64 kstack)
{
char *k = kalloc();
if(k == 0) {