DORMANTno replies

[PATCH] bpf.2: ffix

From: Douglas Caetano dos Santos <hidden>
Date: 2017-07-21 13:55:19
Subsystem: the rest · Maintainer: Linus Torvalds

'\' must be escaped.

Signed-off-by: Douglas Caetano dos Santos <douglascs-6ANAkuZINJhwFqzsTH5u/w@public.gmane.org>
---
 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help