Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Oct 2015 16:18:52 -0700
From:      NGie Cooper <yaneurabeya@gmail.com>
To:        Mateusz Guzik <mjg@freebsd.org>
Cc:        "src-committers@freebsd.org" <src-committers@freebsd.org>,  "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>,  "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r289055 - in head/sys: amd64/linux i386/linux
Message-ID:  <CAGHfRMDHRushrMKKa=_g%2BntmtwAuRcfk=eQbrO1XR9ebq_8fPA@mail.gmail.com>
In-Reply-To: <201510082108.t98L8ZFH007464@repo.freebsd.org>
References:  <201510082108.t98L8ZFH007464@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 8, 2015 at 2:08 PM, Mateusz Guzik <mjg@freebsd.org> wrote:
> Author: mjg
> Date: Thu Oct  8 21:08:35 2015
> New Revision: 289055
> URL: https://svnweb.freebsd.org/changeset/base/289055

...

> Modified: head/sys/i386/linux/linux_sysvec.c
> ==============================================================================
> --- head/sys/i386/linux/linux_sysvec.c  Thu Oct  8 20:32:44 2015        (r289054)
> +++ head/sys/i386/linux/linux_sysvec.c  Thu Oct  8 21:08:35 2015        (r289055)
> @@ -866,7 +866,7 @@ linux_fetch_syscall_args(struct thread *
>
>         if (sa->code >= p->p_sysent->sv_size)
>                 /* nosys */
> -               sa->callp = &p->p_sysent->sv_table[LINUX_SYS_MAXSYSCALL];
> +               sa->callp = &p->p_sysent->sv_table[p->p_sysent->sv_size - 1]
>         else
>                 sa->callp = &p->p_sysent->sv_table[sa->code];
>         sa->narg = sa->callp->sy_narg;

Semicolon missing here. This broke the i386 build.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGHfRMDHRushrMKKa=_g%2BntmtwAuRcfk=eQbrO1XR9ebq_8fPA>