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: Nuno Antunes <nuno.antunes@xxxxxxxxx>
Date: Sat, 17 Dec 2011 10:17:43 +0400

Sephe,

+               KASSERT(cpuid >= 0 || cpuid < ncpus,
+                   ("nexus invalid cpuid %d:\n", cpuid));

Shouldn't this be an && instead?

Cheers,
Nuno



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