[PATCH] bpf.2: ffix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



'\' must be escaped.

Signed-off-by: Douglas Caetano dos Santos <douglascs@xxxxxxxxxxxxx>
---
 man2/bpf.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man2/bpf.2 b/man2/bpf.2
index d4fca8245..2360c11b6 100644
--- a/man2/bpf.2
+++ b/man2/bpf.2
@@ -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);
     }
 
-- 
2.13.3

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux