svn commit: r237563 - head/sys/ofed/include/linux

Navdeep Parhar np at FreeBSD.org
Mon Jun 25 16:52:28 UTC 2012


Author: np
Date: Mon Jun 25 16:52:27 2012
New Revision: 237563
URL: http://svn.freebsd.org/changeset/base/237563

Log:
  Fix clang warning when compiling iw_cxgb.
  
  Reported by:	rene, dim

Modified:
  head/sys/ofed/include/linux/workqueue.h

Modified: head/sys/ofed/include/linux/workqueue.h
==============================================================================
--- head/sys/ofed/include/linux/workqueue.h	Mon Jun 25 12:30:51 2012	(r237562)
+++ head/sys/ofed/include/linux/workqueue.h	Mon Jun 25 16:52:27 2012	(r237563)
@@ -129,7 +129,7 @@ _create_workqueue_common(char *name, int
 	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);
 }


More information about the svn-src-all mailing list