From 0ebd59236e78fd09562b8c7c428aa93ca7226ec4 Mon Sep 17 00:00:00 2001 From: jsg Date: Mon, 6 Dec 2021 09:49:46 +0000 Subject: [PATCH] zero correct var in cpu_dump() ok guenther@ deraadt@ --- sys/arch/arm64/arm64/machdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/arm64/arm64/machdep.c b/sys/arch/arm64/arm64/machdep.c index c84cf6d9b13..f4ad2f8b0ab 100644 --- a/sys/arch/arm64/arm64/machdep.c +++ b/sys/arch/arm64/arm64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.65 2021/07/02 20:39:25 kettenis Exp $ */ +/* $OpenBSD: machdep.c,v 1.66 2021/12/06 09:49:46 jsg Exp $ */ /* * Copyright (c) 2014 Patrick Wildt * Copyright (c) 2021 Mark Kettenis @@ -476,7 +476,7 @@ cpu_dump(void) cpuhdrp->kerneloffs = 0; cpuhdrp->staticsize = 0; cpuhdrp->pmap_kernel_l1 = 0; - cpuhdrp->pmap_kernel_l1 = 0; + cpuhdrp->pmap_kernel_l2 = 0; #if 0 /* -- 2.20.1