bpf.2: ffix

'\' must be escaped.

Signed-off-by: Douglas Caetano dos Santos <douglascs@taghos.com.br>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Douglas Caetano dos Santos 2017-07-21 10:55:19 -03:00 committed by Michael Kerrisk
parent 49145a385b
commit 8f66cfd74a
1 changed files with 1 additions and 1 deletions

View File

@ -986,7 +986,7 @@ main(int argc, char **argv)
assert(bpf_lookup_elem(map_fd, &key, &tcp_cnt) == 0);
key = IPPROTO_UDP;
assert(bpf_lookup_elem(map_fd, &key, &udp_cnt) == 0);
printf("TCP %lld UDP %lld packets\n", tcp_cnt, udp_cnt);
printf("TCP %lld UDP %lld packets\\n", tcp_cnt, udp_cnt);
sleep(1);
}