usr.sbin/bhyve: commit miss from r349918

Submitted by:	markj
Approved by:	markj
Differential Revision:	https://reviews.freebsd.org/D20918
This commit is contained in:
seanc 2019-07-11 19:51:33 +00:00
parent 1c38da32d4
commit 6186c641de

View File

@ -225,12 +225,12 @@ pci_fbuf_read(struct vmctx *ctx, int vcpu, struct pci_devinst *pi,
static int
pci_fbuf_parse_opts(struct pci_fbuf_softc *sc, char *opts)
{
char *uopts, *xopts, *config;
char *uopts, *uoptsbak, *xopts, *config;
char *tmpstr;
int ret;
ret = 0;
uopts = strdup(opts);
uoptsbak = uopts = strdup(opts);
while ((xopts = strsep(&uopts, ",")) != NULL) {
if (strcmp(xopts, "wait") == 0) {
sc->rfb_wait = 1;