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:
parent
1c38da32d4
commit
6186c641de
@ -225,12 +225,12 @@ pci_fbuf_read(struct vmctx *ctx, int vcpu, struct pci_devinst *pi,
|
|||||||
static int
|
static int
|
||||||
pci_fbuf_parse_opts(struct pci_fbuf_softc *sc, char *opts)
|
pci_fbuf_parse_opts(struct pci_fbuf_softc *sc, char *opts)
|
||||||
{
|
{
|
||||||
char *uopts, *xopts, *config;
|
char *uopts, *uoptsbak, *xopts, *config;
|
||||||
char *tmpstr;
|
char *tmpstr;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
ret = 0;
|
ret = 0;
|
||||||
uopts = strdup(opts);
|
uoptsbak = uopts = strdup(opts);
|
||||||
while ((xopts = strsep(&uopts, ",")) != NULL) {
|
while ((xopts = strsep(&uopts, ",")) != NULL) {
|
||||||
if (strcmp(xopts, "wait") == 0) {
|
if (strcmp(xopts, "wait") == 0) {
|
||||||
sc->rfb_wait = 1;
|
sc->rfb_wait = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user