Date: Wed, 27 Nov 2013 06:07:04 +0000 (UTC) From: Peter Grehan <grehan@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r258673 - head/usr.sbin/bhyveload Message-ID: <201311270607.rAR674i8028069@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311270607.rAR674i8028069>