Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Nov 2018 20:14:02 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r340517 - stable/12/lib/libcasper/libcasper
Message-ID:  <201811172014.wAHKE2gT057126@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Sat Nov 17 20:14:02 2018
New Revision: 340517
URL: https://svnweb.freebsd.org/changeset/base/340517

Log:
  MFC r339675:
  Fix comments.

Modified:
  stable/12/lib/libcasper/libcasper/libcasper.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/lib/libcasper/libcasper/libcasper.c
==============================================================================
--- stable/12/lib/libcasper/libcasper/libcasper.c	Sat Nov 17 20:11:39 2018	(r340516)
+++ stable/12/lib/libcasper/libcasper/libcasper.c	Sat Nov 17 20:14:02 2018	(r340517)
@@ -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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811172014.wAHKE2gT057126>