diff options
author | grehan <grehan@FreeBSD.org> | 2013-11-27 06:07:03 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2013-11-27 06:07:03 +0000 |
commit | 7450a12c299b89b1bf03f78751a84c3c61b127ea (patch) | |
tree | cc68caa5df8d778beec3b5be74bb0e5d135bb596 /usr.sbin/bhyveload | |
parent | d3d63a7419808c14bc98da1e8b3867524b66e8b8 (diff) | |
download | FreeBSD-src-7450a12c299b89b1bf03f78751a84c3c61b127ea.zip FreeBSD-src-7450a12c299b89b1bf03f78751a84c3c61b127ea.tar.gz |
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
Diffstat (limited to 'usr.sbin/bhyveload')
-rw-r--r-- | usr.sbin/bhyveload/bhyveload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bhyveload/bhyveload.c b/usr.sbin/bhyveload/bhyveload.c index c76bd0bc..94cb1b1 100644 --- a/usr.sbin/bhyveload/bhyveload.c +++ b/usr.sbin/bhyveload/bhyveload.c @@ -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; |