bpf: minor fix in api and bpf_dump_error() usage
Fix a whitespace in bpf_dump_error() usage, and also a missing closing bracket in ntohl() macro for eBPF programs. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
This commit is contained in:
parent
741c20b024
commit
fd7f9c7fd1
|
|
@ -53,7 +53,7 @@
|
|||
#endif
|
||||
|
||||
#ifndef ntohl
|
||||
# define ntohl(X) __constant_ntohl((X)
|
||||
# define ntohl(X) __constant_ntohl((X))
|
||||
#endif
|
||||
|
||||
/** Section helper macros. */
|
||||
|
|
|
|||
Loading…
Reference in New Issue