diff options
Diffstat (limited to 'samples')
-rw-r--r-- | samples/bpf/fds_example.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/fds_example.c b/samples/bpf/fds_example.c index 6245062844d1..a5cddc99cccd 100644 --- a/samples/bpf/fds_example.c +++ b/samples/bpf/fds_example.c | |||
@@ -49,7 +49,7 @@ static int bpf_map_create(void) | |||
49 | 49 | ||
50 | static int bpf_prog_create(const char *object) | 50 | static int bpf_prog_create(const char *object) |
51 | { | 51 | { |
52 | static const struct bpf_insn insns[] = { | 52 | static struct bpf_insn insns[] = { |
53 | BPF_MOV64_IMM(BPF_REG_0, 1), | 53 | BPF_MOV64_IMM(BPF_REG_0, 1), |
54 | BPF_EXIT_INSN(), | 54 | BPF_EXIT_INSN(), |
55 | }; | 55 | }; |