Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151776165
D24056.id69469.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
878 B
Referenced Files
None
Subscribers
None
D24056.id69469.diff
View Options
Index: head/share/man/man3/CMSG_DATA.3
===================================================================
--- head/share/man/man3/CMSG_DATA.3
+++ head/share/man/man3/CMSG_DATA.3
@@ -2,7 +2,7 @@
.\" Public domain, July 3, 2005
.\"
.\" $FreeBSD$
-.Dd November 1, 2018
+.Dd March 13, 2020
.Dt CMSG_DATA 3
.Os
.Sh NAME
@@ -142,7 +142,7 @@
cmsg->cmsg_level == SOL_SOCKET &&
cmsg->cmsg_type == SCM_RIGHTS) {
hellofd[1] = *(int *)CMSG_DATA(cmsg);
- printf("child: sending '%s'\n", buf);
+ printf("child: sending '%s'\\n", buf);
if (write(hellofd[1], buf, HELLOLEN) == -1)
err(EX_IOERR, "failed to send 'hello'");
}
@@ -166,7 +166,7 @@
if (read(hellofd[0], buf, HELLOLEN) == -1)
err(EX_IOERR, "faild to receive 'hello'");
- printf("parent: received '%s'\n", buf);
+ printf("parent: received '%s'\\n", buf);
break;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 11, 2:35 PM (5 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31295510
Default Alt Text
D24056.id69469.diff (878 B)
Attached To
Mode
D24056: CMSG_DATA.3: Fix formatting of printf escape sequences
Attached
Detach File
Event Timeline
Log In to Comment