Module Name: src Committed By: joerg Date: Mon May 23 21:50:45 UTC 2011
Modified Files: src/sys/dev/usb: usb.c Log Message: Don't use the name of the task queue as format string To generate a diff of this commit: cvs rdiff -u -r1.123 -r1.124 src/sys/dev/usb/usb.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/usb/usb.c diff -u src/sys/dev/usb/usb.c:1.123 src/sys/dev/usb/usb.c:1.124 --- src/sys/dev/usb/usb.c:1.123 Wed Nov 3 22:34:24 2010 +++ src/sys/dev/usb/usb.c Mon May 23 21:50:44 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: usb.c,v 1.123 2010/11/03 22:34:24 dyoung Exp $ */ +/* $NetBSD: usb.c,v 1.124 2011/05/23 21:50:44 joerg Exp $ */ /* * Copyright (c) 1998, 2002, 2008 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: usb.c,v 1.123 2010/11/03 22:34:24 dyoung Exp $"); +__KERNEL_RCSID(0, "$NetBSD: usb.c,v 1.124 2011/05/23 21:50:44 joerg Exp $"); #include "opt_compat_netbsd.h" @@ -302,7 +302,7 @@ taskq->taskcreated = 1; taskq->name = taskq_names[i]; if (kthread_create(PRI_NONE, 0, NULL, usb_task_thread, - taskq, &taskq->task_thread_lwp, taskq->name)) { + taskq, &taskq->task_thread_lwp, "%s", taskq->name)) { printf("unable to create task thread: %s\n", taskq->name); panic("usb_create_event_thread task"); }