fix typo in code normally not compiled in.

This commit is contained in:
Julian Elischer 2007-10-29 20:45:31 +00:00
parent a6f3c1e3f3
commit 539976ffdf

View File

@ -360,7 +360,7 @@ ithread_create(const char *name, struct intr_handler *ih)
ithd = malloc(sizeof(struct intr_thread), M_ITHREAD, M_WAITOK | M_ZERO);
error = kproc_kthread_create(ithread_loop, ih, &intrproc,
error = kproc_kthread_add(ithread_loop, ih, &intrproc,
&td, RFSTOPPED | RFHIGHPID,
0, "intr", "%s", name);
if (error)