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;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to