svn commit: r313732 - head/usr.sbin/bhyve

Ed Maste emaste at FreeBSD.org
Tue Feb 14 16:49:34 UTC 2017


Author: emaste
Date: Tue Feb 14 16:49:32 2017
New Revision: 313732
URL: https://svnweb.freebsd.org/changeset/base/313732

Log:
  bhyve: whitespace fix for r313727
  
  Reported by:	jhb

Modified:
  head/usr.sbin/bhyve/consport.c

Modified: head/usr.sbin/bhyve/consport.c
==============================================================================
--- head/usr.sbin/bhyve/consport.c	Tue Feb 14 16:33:42 2017	(r313731)
+++ head/usr.sbin/bhyve/consport.c	Tue Feb 14 16:49:32 2017	(r313732)
@@ -134,11 +134,14 @@ console_handler(struct vmctx *ctx, int v
 
 	if (!opened) {
 #ifndef WITHOUT_CAPSICUM
-	cap_rights_init(&rights, CAP_EVENT, CAP_IOCTL, CAP_READ, CAP_WRITE);
-	if (cap_rights_limit(STDIN_FILENO, &rights) == -1 && errno != ENOSYS)
-		errx(EX_OSERR, "Unable to apply rights for sandbox");
-	if (cap_ioctls_limit(STDIN_FILENO, cmds, nitems(cmds)) == -1 && errno != ENOSYS)
-		errx(EX_OSERR, "Unable to apply rights for sandbox");
+		cap_rights_init(&rights, CAP_EVENT, CAP_IOCTL, CAP_READ,
+		    CAP_WRITE);
+		if (cap_rights_limit(STDIN_FILENO, &rights) == -1 &&
+		    errno != ENOSYS)
+			errx(EX_OSERR, "Unable to apply rights for sandbox");
+		if (cap_ioctls_limit(STDIN_FILENO, cmds, nitems(cmds)) == -1 &&
+		    errno != ENOSYS)
+			errx(EX_OSERR, "Unable to apply rights for sandbox");
 #endif
 		ttyopen();
 		opened = 1;


More information about the svn-src-all mailing list