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:
Daniel Borkmann 2015-12-14 16:57:32 +01:00 committed by Stephen Hemminger
parent 741c20b024
commit fd7f9c7fd1
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@
#endif
#ifndef ntohl
# define ntohl(X) __constant_ntohl((X)
# define ntohl(X) __constant_ntohl((X))
#endif
/** Section helper macros. */