From 2fae018f887235bab9f683c782e2e9a93c8d3766 Mon Sep 17 00:00:00 2001 From: Paul Chaignon Date: Mon, 27 Nov 2023 16:27:08 +0100 Subject: sys/linux: fix comments for bpf_trace_printk helper The comments for the two strings in bpf_insn_mov_printk_str_hex are inverted. "%p" is 0x257000 in hexa. Signed-off-by: Paul Chaignon --- sys/linux/bpf.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/linux') diff --git a/sys/linux/bpf.txt b/sys/linux/bpf.txt index b0166b0cd..a972af32d 100644 --- a/sys/linux/bpf.txt +++ b/sys/linux/bpf.txt @@ -701,9 +701,9 @@ type bpf_insn_null_check[REG] { } type bpf_insn_mov_printk_str_hex[DST] [ -# "%d " - integer bpf_insn_mov_imm64[DST, 0x25702020, 0x20202000] # "%p " + integer bpf_insn_mov_imm64[DST, 0x25702020, 0x20202000] +# "%d " pointer bpf_insn_mov_imm64[DST, 0x25642020, 0x20202000] ] -- cgit mrf-deployment