Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jul 2019 19:51:33 +0000 (UTC)
From:      Sean Chittenden <seanc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r349919 - head/usr.sbin/bhyve
Message-ID:  <201907111951.x6BJpXFu025907@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: seanc (ports committer)
Date: Thu Jul 11 19:51:33 2019
New Revision: 349919
URL: https://svnweb.freebsd.org/changeset/base/349919

Log:
  usr.sbin/bhyve: commit miss from r349918
  
  Submitted by:	markj
  Approved by:	markj
  Differential Revision:	https://reviews.freebsd.org/D20918

Modified:
  head/usr.sbin/bhyve/pci_fbuf.c

Modified: head/usr.sbin/bhyve/pci_fbuf.c
==============================================================================
--- head/usr.sbin/bhyve/pci_fbuf.c	Thu Jul 11 19:41:14 2019	(r349918)
+++ head/usr.sbin/bhyve/pci_fbuf.c	Thu Jul 11 19:51:33 2019	(r349919)
@@ -225,12 +225,12 @@ pci_fbuf_read(struct vmctx *ctx, int vcpu, struct pci_
 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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907111951.x6BJpXFu025907>