From 42d1e0ec0b4e8106c875528e9d073d9ceead3d94 Mon Sep 17 00:00:00 2001 From: jasper Date: Thu, 28 Oct 2021 08:47:40 +0000 Subject: [PATCH] add proper declaration for addr in dt_prov_kprobe_hook --- sys/dev/dt/dt_prov_kprobe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/dt/dt_prov_kprobe.c b/sys/dev/dt/dt_prov_kprobe.c index 9a962d538e5..fed905371fd 100644 --- a/sys/dev/dt/dt_prov_kprobe.c +++ b/sys/dev/dt/dt_prov_kprobe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dt_prov_kprobe.c,v 1.3 2021/10/27 15:18:12 jasper Exp $ */ +/* $OpenBSD: dt_prov_kprobe.c,v 1.4 2021/10/28 08:47:40 jasper Exp $ */ /* * Copyright (c) 2020 Tom Rollet @@ -303,7 +303,7 @@ dt_prov_kprobe_hook(struct dt_provider *dtpv, ...) va_list ap; int is_dt_bkpt = 0; int error; /* Return values for return probes*/ - vaddr_t *args; + vaddr_t *args, addr; size_t argsize; register_t retval[2]; -- 2.20.1