From ce2c46e673b45a6e87e259c1ab56a535e7c91c34 Mon Sep 17 00:00:00 2001 From: tron Date: Thu, 23 Sep 2004 21:30:36 +0000 Subject: [PATCH] Because "paddr_t" is not a pointer type initialize "pa" to 0 and not NULL. --- sys/arch/amiga/amiga/pmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/amiga/amiga/pmap.c b/sys/arch/amiga/amiga/pmap.c index 8cd038d9f124..87fdf0692632 100644 --- a/sys/arch/amiga/amiga/pmap.c +++ b/sys/arch/amiga/amiga/pmap.c @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.109 2004/09/23 21:10:31 tron Exp $ */ +/* $NetBSD: pmap.c,v 1.110 2004/09/23 21:30:36 tron Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -107,7 +107,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.109 2004/09/23 21:10:31 tron Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.110 2004/09/23 21:30:36 tron Exp $"); #include #include @@ -1563,7 +1563,7 @@ pmap_extract(pmap, va, pap) paddr_t *pap; { boolean_t rv = FALSE; - paddr_t pa = NULL; + paddr_t pa = 0; u_int pte; #ifdef DEBUG