diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2021-05-16 06:20:30 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2021-05-16 06:20:30 +0000 |
commit | 5af02e9771abb3ceadb8745067539e8082ef9312 (patch) | |
tree | bc10b481e7c3169eed768bb837552a3ba56c1f5e /sys/arch/arm | |
parent | 4083e4e9866b649ecd825800a06985bca1934750 (diff) |
b_saveaddr has a type of void * use NULL not 0
Diffstat (limited to 'sys/arch/arm')
-rw-r--r-- | sys/arch/arm/arm/vm_machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm/arm/vm_machdep.c b/sys/arch/arm/arm/vm_machdep.c index d55b08927d6..7ae64366c3c 100644 --- a/sys/arch/arm/arm/vm_machdep.c +++ b/sys/arch/arm/arm/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.26 2021/03/25 04:12:00 jsg Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.27 2021/05/16 06:20:28 jsg Exp $ */ /* $NetBSD: vm_machdep.c,v 1.31 2004/01/04 11:33:29 jdolecek Exp $ */ /* @@ -196,5 +196,5 @@ vunmapbuf(struct buf *bp, vsize_t len) pmap_update(pmap_kernel()); uvm_km_free_wakeup(phys_map, addr, len); bp->b_data = bp->b_saveaddr; - bp->b_saveaddr = 0; + bp->b_saveaddr = NULL; } |