Date: Fri, 12 Jul 2019 13:28:38 -0600 From: Scott Long <scottl@samsco.org> To: Konstantin Belousov <kib@FreeBSD.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r349953 - head/sys/amd64/vmm Message-ID: <C1D623BC-9A16-42FF-AFB8-B712DDECAD67@samsco.org> In-Reply-To: <201907121914.x6CJEqa6059857@repo.freebsd.org> References: <201907121914.x6CJEqa6059857@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, sorry about that, I had compiled and tested this a dozen times = before committing, not sure how this crept in. Scott > On Jul 12, 2019, at 1:14 PM, Konstantin Belousov <kib@FreeBSD.org> = wrote: >=20 > Author: kib > Date: Fri Jul 12 19:14:52 2019 > New Revision: 349953 > URL: https://svnweb.freebsd.org/changeset/base/349953 >=20 > Log: > Fix syntax. >=20 > Nod from: jhb > Sponsored by: The FreeBSD Foundation >=20 > Modified: > head/sys/amd64/vmm/vmm_dev.c >=20 > Modified: head/sys/amd64/vmm/vmm_dev.c > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/sys/amd64/vmm/vmm_dev.c Fri Jul 12 18:50:46 2019 = (r349952) > +++ head/sys/amd64/vmm/vmm_dev.c Fri Jul 12 19:14:52 2019 = (r349953) > @@ -291,7 +291,7 @@ alloc_memseg(struct vmmdev_softc *sc, struct = vm_memseg > */ > if (VM_MEMSEG_NAME(mseg)) { > sysmem =3D false; > - name =3D malloc(sizeof(mseg->name) M_VMMDEV, M_WAITOK); > + name =3D malloc(sizeof(mseg->name), M_VMMDEV, M_WAITOK); > error =3D copystr(mseg->name, name, sizeof(mseg->name), = NULL); > if (error) > goto done; >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C1D623BC-9A16-42FF-AFB8-B712DDECAD67>