Re: [PATCH] bpf.2: ffix

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

 



On 07/21/2017 03:55 PM, Douglas Caetano dos Santos wrote:
> '\' must be escaped.

Thanks, Douglas. Applied.

Cheers,

Michael


> 
> 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);
>      }
>  
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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