svn commit: r258673 - head/usr.sbin/bhyveload

Peter Grehan grehan at FreeBSD.org
Wed Nov 27 06:07:04 UTC 2013


Author: grehan
Date: Wed Nov 27 06:07:03 2013
New Revision: 258673
URL: http://svnweb.freebsd.org/changeset/base/258673

Log:
  Don't create an initial value for the host filesystem of "/".
  This has the unintended effect of booting the host kernel if
  a disk image open fails.
  
  Discussed with:	neel

Modified:
  head/usr.sbin/bhyveload/bhyveload.c

Modified: head/usr.sbin/bhyveload/bhyveload.c
==============================================================================
--- head/usr.sbin/bhyveload/bhyveload.c	Wed Nov 27 04:54:23 2013	(r258672)
+++ head/usr.sbin/bhyveload/bhyveload.c	Wed Nov 27 06:07:03 2013	(r258673)
@@ -88,7 +88,7 @@ __FBSDID("$FreeBSD$");
 #define	GB	(1024 * 1024 * 1024UL)
 #define	BSP	0
 
-static char *host_base = "/";
+static char *host_base;
 static struct termios term, oldterm;
 static int disk_fd = -1;
 static int consin_fd, consout_fd;


More information about the svn-src-head mailing list