summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_intr.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-03-24 06:26:47 +0000
committerjhb <jhb@FreeBSD.org>2001-03-24 06:26:47 +0000
commit940852c0c7c3c2d33482e2879f68fc938aefc993 (patch)
treee15b773ad4c9e1e6f21da8e4dec4b4a0611d1899 /sys/kern/kern_intr.c
parente3813eeec8d7534245032496461631f73216c1ce (diff)
downloadFreeBSD-src-940852c0c7c3c2d33482e2879f68fc938aefc993.zip
FreeBSD-src-940852c0c7c3c2d33482e2879f68fc938aefc993.tar.gz
Use (..., "%s", foo) instead of (..., foo) to avoid a warning about a
non-constant format string when calling kthread_create() to create an ithread.
Diffstat (limited to 'sys/kern/kern_intr.c')
-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 b127eed..ad64715 100644
--- a/sys/kern/kern_intr.c
+++ b/sys/kern/kern_intr.c
@@ -184,7 +184,7 @@ ithread_create(struct ithd **ithread, int vector, int flags,
va_end(ap);
error = kthread_create(ithread_loop, ithd, &p, RFSTOPPED | RFHIGHPID,
- ithd->it_name);
+ "%s", ithd->it_name);
if (error) {
free(ithd, M_ITHREAD);
return (error);
OpenPOWER on IntegriCloud