bpf: style fix in while(!feof()) loop
authorChang-Hsien Tsai <luke.tw@gmail.com>
Sun, 26 May 2019 10:32:11 +0000 (10:32 +0000)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 28 May 2019 08:54:01 +0000 (10:54 +0200)
commit92bd6820f2b11c2decdd92e1f9020e804dbc2ed1
tree5dfc445288bf7446cc88dec4319d27e243a0e237
parente1afb70252a8614e1ef7aec05ff1b84fd324b782
bpf: style fix in while(!feof()) loop

Use fgets() as the while loop condition.

Signed-off-by: Chang-Hsien Tsai <luke.tw@gmail.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/bpf/bpftool/xlated_dumper.c
tools/testing/selftests/bpf/trace_helpers.c