svn commit: r339675 - head/lib/libcasper/libcasper
Mark Johnston
markj at FreeBSD.org
Wed Oct 24 00:17:20 UTC 2018
Author: markj
Date: Wed Oct 24 00:17:19 2018
New Revision: 339675
URL: https://svnweb.freebsd.org/changeset/base/339675
Log:
Fix comments.
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Modified:
head/lib/libcasper/libcasper/libcasper.c
Modified: head/lib/libcasper/libcasper/libcasper.c
==============================================================================
--- head/lib/libcasper/libcasper/libcasper.c Tue Oct 23 23:15:44 2018 (r339674)
+++ head/lib/libcasper/libcasper/libcasper.c Wed Oct 24 00:17:19 2018 (r339675)
@@ -100,12 +100,12 @@ cap_init(void)
pid = pdfork(&pfd, 0);
if (pid == 0) {
- /* Parent. */
+ /* Child. */
close(sock[0]);
casper_main_loop(sock[1]);
/* NOTREACHED. */
} else if (pid > 0) {
- /* Child. */
+ /* Parent. */
close(sock[1]);
chan = cap_wrap(sock[0], 0);
if (chan == NULL) {
More information about the svn-src-head
mailing list