summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2024-11-08 12:28:01 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2024-11-08 12:28:01 +0000
commit056c1e21c567c42660f2700ad62b20aa45ea9594 (patch)
tree767deeb12e06010bf4ebbc6b588e3c83882cd964 /sys
parent475c5b2f4db89b12149ff33dad839877aac815c6 (diff)
Constify strtab.
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;