summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/dt/dt_prov_kprobe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/dt/dt_prov_kprobe.c b/sys/dev/dt/dt_prov_kprobe.c
index f929dd56d6f..5de2f8cd99a 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.8 2024/04/06 11:18:02 mpi Exp $ */
+/* $OpenBSD: dt_prov_kprobe.c,v 1.9 2024/11/08 12:28:00 mpi Exp $ */
/*
* Copyright (c) 2020 Tom Rollet <tom.rollet@epita.fr>
@@ -120,7 +120,7 @@ dt_prov_kprobe_init(void)
struct dt_probe *dtp;
struct kprobe_probe *kprobe_dtp;
Elf_Sym *symp, *symtab_start, *symtab_end;
- char *strtab, *name;
+ const char *strtab, *name;
vaddr_t inst, limit;
int nb_sym, nb_probes;