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/sh | |
parent | 4083e4e9866b649ecd825800a06985bca1934750 (diff) |
b_saveaddr has a type of void * use NULL not 0
Diffstat (limited to 'sys/arch/sh')
-rw-r--r-- | sys/arch/sh/sh/vm_machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sh/sh/vm_machdep.c b/sys/arch/sh/sh/vm_machdep.c index 32c01097225..8ea9cddb489 100644 --- a/sys/arch/sh/sh/vm_machdep.c +++ b/sys/arch/sh/sh/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.15 2017/08/17 20:50:51 tom Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.16 2021/05/16 06:20:29 jsg Exp $ */ /* $NetBSD: vm_machdep.c,v 1.53 2006/08/31 16:49:21 matt Exp $ */ /* @@ -309,5 +309,5 @@ vunmapbuf(struct buf *bp, vsize_t len) pmap_update(kpmap); uvm_km_free_wakeup(phys_map, addr, len); bp->b_data = bp->b_saveaddr; - bp->b_saveaddr = 0; + bp->b_saveaddr = NULL; } |