Skip to content

Commit 8a69e05

Browse files
fix duplicate variable in example
Signed-off-by: varun-r-mallya <[email protected]>
1 parent 976af29 commit 8a69e05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/kprobes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def hello_world(ctx: c_void_p) -> c_int64:
1010

1111
@bpf
1212
@section("kprobe/do_unlinkat")
13-
def hello_world(ctx: c_void_p) -> c_int64:
13+
def hello_world2(ctx: c_void_p) -> c_int64:
1414
print("Hello, World!")
1515
return c_int64(0)
1616

0 commit comments

Comments
 (0)