Skip to content

Commit c5f0a28

Browse files
committed
Make printk_emiiter return True to prevent bogus logger warnings in eval_expr
1 parent b0ea93a commit c5f0a28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pythonbpf/helper/bpf_helper_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def bpf_printk_emitter(
135135
fn_ptr = builder.inttoptr(fn_addr, fn_ptr_type)
136136

137137
builder.call(fn_ptr, args, tail=True)
138-
return None
138+
return True
139139

140140

141141
@HelperHandlerRegistry.register("update")

0 commit comments

Comments
 (0)