git: nexus/intr: Change the wrong cpuid backtrace to assertion

Sepherosa Ziehau sepherosa at gmail.com
Sat Dec 17 18:20:23 PST 2011


2011/12/17 Nuno Antunes <nuno.antunes at gmail.com>:
> Sephe,
>
> +               KASSERT(cpuid >= 0 || cpuid < ncpus,
> +                   ("nexus invalid cpuid %d:\n", cpuid));
>
> Shouldn't this be an && instead?

Fixed, thank!

Best Regards,
sephe

>
> Cheers,
> Nuno



-- 
Tomorrow Will Never Die






More information about the Commits mailing list