]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC 358954:
authorMateusz Piotrowski <0mp@FreeBSD.org>
Fri, 27 Mar 2020 09:57:27 +0000 (09:57 +0000)
committerMateusz Piotrowski <0mp@FreeBSD.org>
Fri, 27 Mar 2020 09:57:27 +0000 (09:57 +0000)
commit1ff806052493d3bba925afbfac150bedb3e81083
tree6aca9121b89010a53ac127a76693a55ca1d159f3
parent17d4a50eae69be12ae7c1ad199220fcd39bd849c
MFC 358954:

CMSG_DATA.3: Fix formatting of printf escape sequences

Escape sequences like "\n" have to be escaped twice in examples in our
mdoc(7)-based manual pages in order to be displayed properly. The problem
is that otherwise they are interpreted by mdoc(7), which results in:

    printf("parent: received '%s'0, buf);

being shown to the user instead of:

    printf("parent: received '%s'\n", buf);

Approved by: bcr (mentor)
Differential Revision: https://reviews.freebsd.org/D24056
share/man/man3/CMSG_DATA.3