svn commit: r349953 - head/sys/amd64/vmm
Scott Long
scottl at samsco.org
Fri Jul 12 19:28:42 UTC 2019
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 at FreeBSD.org> wrote:
>
> Author: kib
> Date: Fri Jul 12 19:14:52 2019
> New Revision: 349953
> URL: https://svnweb.freebsd.org/changeset/base/349953
>
> Log:
> Fix syntax.
>
> Nod from: jhb
> Sponsored by: The FreeBSD Foundation
>
> Modified:
> head/sys/amd64/vmm/vmm_dev.c
>
> Modified: head/sys/amd64/vmm/vmm_dev.c
> ==============================================================================
> --- 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 = false;
> - name = malloc(sizeof(mseg->name) M_VMMDEV, M_WAITOK);
> + name = malloc(sizeof(mseg->name), M_VMMDEV, M_WAITOK);
> error = copystr(mseg->name, name, sizeof(mseg->name), NULL);
> if (error)
> goto done;
>
More information about the svn-src-head
mailing list