summaryrefslogtreecommitdiffstats
path: root/sys/dev/hil
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-11-18 20:21:50 +0000
committerderaadt <deraadt@openbsd.org>2013-11-18 20:21:50 +0000
commit2d25794915b1a72ef7ffbd4e4ff3fd6fe3543962 (patch)
tree1c154aa3d433087b3e762d389bdd8a35610f66da /sys/dev/hil
parent- ansify some function definitions (diff)
downloadwireguard-openbsd-2d25794915b1a72ef7ffbd4e4ff3fd6fe3543962.tar.xz
wireguard-openbsd-2d25794915b1a72ef7ffbd4e4ff3fd6fe3543962.zip
simplify kthread_create(). no more stdarg
ok matthew guenther mikeb
Diffstat (limited to 'sys/dev/hil')
-rw-r--r--sys/dev/hil/hil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/hil/hil.c b/sys/dev/hil/hil.c
index 3d48f8daca3..5bab6695a50 100644
--- a/sys/dev/hil/hil.c
+++ b/sys/dev/hil/hil.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hil.c,v 1.24 2010/11/20 16:45:46 miod Exp $ */
+/* $OpenBSD: hil.c,v 1.25 2013/11/18 20:21:51 deraadt Exp $ */
/*
* Copyright (c) 2003, 2004, Miodrag Vallat.
* All rights reserved.
@@ -252,7 +252,7 @@ hil_attach_deferred(void *v)
* Create asynchronous loop event handler thread.
*/
if (kthread_create(hil_thread, sc, &sc->sc_thread,
- "%s", sc->sc_dev.dv_xname) != 0) {
+ sc->sc_dev.dv_xname) != 0) {
printf("%s: unable to create event thread\n",
sc->sc_dev.dv_xname);
return;