projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
samples/bpf: add map_flags to bpf loader
[cascardo/linux.git]
/
samples
/
bpf
/
fds_example.c
diff --git
a/samples/bpf/fds_example.c
b/samples/bpf/fds_example.c
index
e2fd16c
..
625e797
100644
(file)
--- a/
samples/bpf/fds_example.c
+++ b/
samples/bpf/fds_example.c
@@
-44,7
+44,7
@@
static void usage(void)
static int bpf_map_create(void)
{
return bpf_create_map(BPF_MAP_TYPE_ARRAY, sizeof(uint32_t),
- sizeof(uint32_t), 1024);
+ sizeof(uint32_t), 1024
, 0
);
}
static int bpf_prog_create(const char *object)