ktrace: Make the data lengths table const

No functional change intended.

MFC after:	1 week
This commit is contained in:
Mark Johnston 2023-06-01 17:12:42 -04:00
parent 0d3f1b4f25
commit 3080f82b8b

View File

@ -112,7 +112,7 @@ struct ktr_request {
STAILQ_ENTRY(ktr_request) ktr_list;
};
static int data_lengths[] = {
static const int data_lengths[] = {
[KTR_SYSCALL] = offsetof(struct ktr_syscall, ktr_args),
[KTR_SYSRET] = sizeof(struct ktr_sysret),
[KTR_NAMEI] = 0,