diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-18 20:21:52 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-18 20:21:52 +0000 |
commit | 34f42c48d1fdabc4198ec57554652a5de2784927 (patch) | |
tree | a31f24276c56c3c04a003573a41c01ed368442b0 /sys/dev/ic/twe.c | |
parent | 2e7693ff115858ab829cfeb57ae881e5f7e37e91 (diff) |
simplify kthread_create(). no more stdarg
ok matthew guenther mikeb
Diffstat (limited to 'sys/dev/ic/twe.c')
-rw-r--r-- | sys/dev/ic/twe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/twe.c b/sys/dev/ic/twe.c index d1aca481b44..a2ad3c3d0cc 100644 --- a/sys/dev/ic/twe.c +++ b/sys/dev/ic/twe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: twe.c,v 1.41 2011/07/17 22:46:48 matthew Exp $ */ +/* $OpenBSD: twe.c,v 1.42 2013/11/18 20:21:51 deraadt Exp $ */ /* * Copyright (c) 2000-2002 Michael Shalayeff. All rights reserved. @@ -419,7 +419,7 @@ twe_thread_create(void *v) struct twe_softc *sc = v; if (kthread_create(twe_thread, sc, &sc->sc_thread, - "%s", sc->sc_dev.dv_xname)) { + sc->sc_dev.dv_xname)) { /* TODO disable twe */ printf("%s: failed to create kernel thread, disabled\n", sc->sc_dev.dv_xname); |