Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2018 00:17:19 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r339675 - head/lib/libcasper/libcasper
Message-ID:  <201810240017.w9O0HJ7Z064007@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) {



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