diff --git a/README.md b/README.md index 596e5ed..7a4eaae 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ from ctypes import c_void_p, c_int64, c_int32, c_uint64 @bpf @map def last() -> HashMap: - return HashMap(key_type=c_uint64, value_type=c_uint64, max_entries=1) + return HashMap(key=c_uint64, value=c_uint64, max_entries=1) @bpf @section("tracepoint/syscalls/sys_enter_execve")