diff options
| author | Dmitry Torokhov <[email protected]> | 2023-05-01 15:20:08 -0700 | 
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2023-05-01 15:20:08 -0700 | 
| commit | 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e (patch) | |
| tree | d57f3a63479a07b4e0cece029886e76e04feb984 /samples/bpf/test_map_in_map_user.c | |
| parent | 5dc63e56a9cf8df0b59c234a505a1653f1bdf885 (diff) | |
| parent | 53bea86b5712c7491bb3dae12e271666df0a308c (diff) | |
Merge branch 'next' into for-linus
Prepare input updates for 6.4 merge window.
Diffstat (limited to 'samples/bpf/test_map_in_map_user.c')
| -rw-r--r-- | samples/bpf/test_map_in_map_user.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/bpf/test_map_in_map_user.c b/samples/bpf/test_map_in_map_user.c index 652ec720533d..55dca43f3723 100644 --- a/samples/bpf/test_map_in_map_user.c +++ b/samples/bpf/test_map_in_map_user.c @@ -38,7 +38,7 @@ static void check_map_id(int inner_map_fd, int map_in_map_fd, uint32_t key)  	uint32_t info_len = sizeof(info);  	int ret, id; -	ret = bpf_obj_get_info_by_fd(inner_map_fd, &info, &info_len); +	ret = bpf_map_get_info_by_fd(inner_map_fd, &info, &info_len);  	assert(!ret);  	ret = bpf_map_lookup_elem(map_in_map_fd, &key, &id); @@ -120,7 +120,7 @@ int main(int argc, char **argv)  	struct bpf_object *obj;  	char filename[256]; -	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); +	snprintf(filename, sizeof(filename), "%s.bpf.o", argv[0]);  	obj = bpf_object__open_file(filename, NULL);  	if (libbpf_get_error(obj)) {  		fprintf(stderr, "ERROR: opening BPF object file failed\n");  |