adjust: bpf_attach_xdp report nicer error
@@ -1413,7 +1413,7 @@ int bpf_attach_xdp(const char *dev_name, int progfd, uint32_t flags) {
ret = bpf_set_link_xdp_fd(ifindex, progfd, flags);
if (ret) {
libbpf_strerror(ret, err_buf, sizeof(err_buf));
- fprintf(stderr, "bpf: Attaching prog to %s: %s", dev_name, err_buf);
+ fprintf(stderr, "bpf: Attaching prog to %s: %s\n", dev_name, err_buf);
return -1;
}
