samples/bpf: add map_flags to bpf loader
[deliverable/linux.git] / samples / bpf / fds_example.c
index e2fd16c3d0f07ca4461a0ad239d0c2426d880b97..625e797be6ef897f929adebffe9dcbf71cd59e03 100644 (file)
@@ -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)
This page took 0.025638 seconds and 5 git commands to generate.