summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2007-10-29 20:45:31 +0000
committerjulian <julian@FreeBSD.org>2007-10-29 20:45:31 +0000
commit03284e6e0865af687ecacd69d91f221ef775cd63 (patch)
tree51461a8844cae76fda15ba3b26d51b5fe4c39d77 /sys
parent0cf18b2c7ce05154ae8623e04f94e8a14bd9121c (diff)
downloadFreeBSD-src-03284e6e0865af687ecacd69d91f221ef775cd63.zip
FreeBSD-src-03284e6e0865af687ecacd69d91f221ef775cd63.tar.gz
fix typo in code normally not compiled in.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_intr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c
index 8539c6e..17af1ee 100644
--- a/sys/kern/kern_intr.c
+++ b/sys/kern/kern_intr.c
@@ -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)
OpenPOWER on IntegriCloud