From c9ef0dd57158db5279225a6a3ff7ec0e6021a256 Mon Sep 17 00:00:00 2001 From: jasper Date: Sat, 10 Jul 2021 18:46:39 +0000 Subject: [PATCH] tweak indentation of conditional in db_validate_address(). this also matches arm64 now/again. --- sys/arch/riscv64/riscv64/db_interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/riscv64/riscv64/db_interface.c b/sys/arch/riscv64/riscv64/db_interface.c index 672444a8427..508c15f84ae 100644 --- a/sys/arch/riscv64/riscv64/db_interface.c +++ b/sys/arch/riscv64/riscv64/db_interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_interface.c,v 1.4 2021/06/29 21:27:53 kettenis Exp $ */ +/* $OpenBSD: db_interface.c,v 1.5 2021/07/10 18:46:39 jasper Exp $ */ /* * Copyright (c) 1996 Scott K. Stevens @@ -167,7 +167,7 @@ db_validate_address(vaddr_t addr) struct pmap *pmap; if (!p || !p->p_vmspace || !p->p_vmspace->vm_map.pmap || - INKERNEL(addr)) + INKERNEL(addr)) pmap = pmap_kernel(); else pmap = p->p_vmspace->vm_map.pmap; -- 2.20.1