diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c index daad68290439..9ece7510d266 100644 --- a/sys/amd64/amd64/trap.c +++ b/sys/amd64/amd64/trap.c @@ -535,7 +535,7 @@ trap_pfault(frame, usermode) { vm_offset_t va; struct vmspace *vm = NULL; - vm_map_t map = 0; + vm_map_t map; int rv = 0; vm_prot_t ftype; struct thread *td = curthread; diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c index fd93c2f427d6..236c84062e7c 100644 --- a/sys/i386/i386/trap.c +++ b/sys/i386/i386/trap.c @@ -696,7 +696,7 @@ trap_pfault(frame, usermode, eva) { vm_offset_t va; struct vmspace *vm = NULL; - vm_map_t map = 0; + vm_map_t map; int rv = 0; vm_prot_t ftype; struct thread *td = curthread;