ktrace: Make the data lengths table const
No functional change intended. MFC after: 1 week
This commit is contained in:
parent
0d3f1b4f25
commit
3080f82b8b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user