summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-18 20:21:52 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-18 20:21:52 +0000
commit34f42c48d1fdabc4198ec57554652a5de2784927 (patch)
treea31f24276c56c3c04a003573a41c01ed368442b0 /sys/arch/sparc
parent2e7693ff115858ab829cfeb57ae881e5f7e37e91 (diff)
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);
}