Skip to content

Commit 8b7e1ba

Browse files
author
Michael Agun
committed
test fix
1 parent fa21b3e commit 8b7e1ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/end_to_end/end_to_end.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ negative_ring_buffer_test(ebpf_execution_type_t execution_type)
954954

955955
// Calls to ring buffer APIs on this map (array_map) must fail.
956956
ebpf_ring_buffer_opts ring_opts{.sz = sizeof(ring_opts), .flags = EBPF_RINGBUF_FLAG_AUTO_CALLBACK};
957-
REQUIRE(ring_buffer__new(map_fd, [](void*, void*, size_t) { return 0; }, nullptr, &ring_opts) == nullptr);
957+
REQUIRE(ebpf_ring_buffer__new(map_fd, [](void*, void*, size_t) { return 0; }, nullptr, &ring_opts) == nullptr);
958958
REQUIRE(libbpf_get_error(nullptr) == EINVAL);
959959
uint8_t data = 0;
960960
REQUIRE(ebpf_ring_buffer_map_write(map_fd, &data, sizeof(data)) == EBPF_INVALID_ARGUMENT);

0 commit comments

Comments
 (0)