DragonFly BSD
DragonFly commits List (threaded) for 2011-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sepherosa Ziehau <sepherosa@xxxxxxxxx>
Date: Sun, 18 Dec 2011 10:19:16 +0800

2011/12/17 Nuno Antunes <nuno.antunes@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




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]