diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2024-11-08 12:28:01 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2024-11-08 12:28:01 +0000 |
commit | 056c1e21c567c42660f2700ad62b20aa45ea9594 (patch) | |
tree | 767deeb12e06010bf4ebbc6b588e3c83882cd964 /sys/dev | |
parent | 475c5b2f4db89b12149ff33dad839877aac815c6 (diff) |
Constify strtab.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/dt/dt_prov_kprobe.c | 4 |
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; |