summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornp <np@FreeBSD.org>2012-06-25 16:52:27 +0000
committernp <np@FreeBSD.org>2012-06-25 16:52:27 +0000
commitc0de06c375fad706b6f339f9b4fa5b3f738b1607 (patch)
treeaff7b6758ad703a7fe50d399e6eb4a597c97dc69
parent074e23479414dea921d159ba76cfb39027e9c4c9 (diff)
downloadFreeBSD-src-c0de06c375fad706b6f339f9b4fa5b3f738b1607.zip
FreeBSD-src-c0de06c375fad706b6f339f9b4fa5b3f738b1607.tar.gz
Fix clang warning when compiling iw_cxgb.
Reported by: rene, dim
-rw-r--r--sys/ofed/include/linux/workqueue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ofed/include/linux/workqueue.h b/sys/ofed/include/linux/workqueue.h
index c59b4ae..77443fe 100644
--- a/sys/ofed/include/linux/workqueue.h
+++ b/sys/ofed/include/linux/workqueue.h
@@ -129,7 +129,7 @@ _create_workqueue_common(char *name, int cpus)
wq = kmalloc(sizeof(*wq), M_WAITOK);
wq->taskqueue = taskqueue_create((name), M_WAITOK,
taskqueue_thread_enqueue, &wq->taskqueue);
- taskqueue_start_threads(&wq->taskqueue, cpus, PWAIT, (name));
+ taskqueue_start_threads(&wq->taskqueue, cpus, PWAIT, "%s", name);
return (wq);
}
OpenPOWER on IntegriCloud