Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync with the following bug fix: commit a8a1f7d09cfc7e18874786c7634c9e71384fcd4e (HEAD -> bpf-next2, bpf-next/master) Author: Stanislav Fomichev <sdf@google.com> Date: Mon Feb 4 16:20:55 2019 -0800 libbpf: fix libbpf_print With the recent print rework we now have the following problem: pr_{warning,info,debug} expand to __pr which calls libbpf_print. libbpf_print does va_start and calls __libbpf_pr with va_list argument. In __base_pr we again do va_start. Because the next argument is a va_list, we don't get correct pointer to the argument (and print noting in my case, I don't know why it doesn't crash tbh). ...... Signed-off-by: Stanislav Fomichev <sdf@google.com> Signed-off-by: Yonghong Song <yhs@fb.com>
- Loading branch information