diff --git a/src/bpf_helper_defs.h b/src/bpf_helper_defs.h index 75781ac..1c27e8b 100644 --- a/src/bpf_helper_defs.h +++ b/src/bpf_helper_defs.h @@ -3558,7 +3558,7 @@ static int (* const bpf_inode_storage_delete)(void *map, void *inode) = (void *) * including the trailing NUL character. On error, a negative * value. */ -static long (* const bpf_d_path)(struct path *path, char *buf, __u32 sz) = (void *) 147; +static long (* const bpf_d_path)(const struct path *path, char *buf, __u32 sz) = (void *) 147; /* * bpf_copy_from_user