I want CPU number here.

Noticed by:	ru
This commit is contained in:
pjd 2006-11-02 09:01:34 +00:00
parent 5923722282
commit 9fbd00e878

View File

@ -642,7 +642,7 @@ g_eli_create(struct gctl_req *req, struct g_class *mp, struct g_provider *bpp,
for (i = 0; i < threads; i++) {
if (g_eli_cpu_is_disabled(i)) {
G_ELI_DEBUG(1, "%s: CPU %u disabled, skipping.",
bpp->name, threads);
bpp->name, i);
continue;
}
wr = malloc(sizeof(*wr), M_ELI, M_WAITOK | M_ZERO);