summaryrefslogtreecommitdiffstats
path: root/sys/arch/sparc
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/arch/sparc
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/arch/sparc')
-rw-r--r--sys/arch/sparc/dev/ts102.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/ts102.c b/sys/arch/sparc/dev/ts102.c
index 2223582a188..398ef0fccf8 100644
--- a/sys/arch/sparc/dev/ts102.c
+++ b/sys/arch/sparc/dev/ts102.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ts102.c,v 1.19 2009/04/10 20:54:57 miod Exp $ */
+/* $OpenBSD: ts102.c,v 1.20 2013/11/18 20:21:51 deraadt Exp $ */
/*
* Copyright (c) 2003, 2004, Miodrag Vallat.
*
@@ -599,7 +599,7 @@ tslot_create_event_thread(void *v)
struct tslot_softc *sc = v;
const char *name = sc->sc_dev.dv_xname;
- if (kthread_create(tslot_event_thread, sc, &sc->sc_thread, "%s",
+ if (kthread_create(tslot_event_thread, sc, &sc->sc_thread,
name) != 0) {
panic("%s: unable to create event kthread", name);
}