diff options
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r-- | sys/arch/macppc/dev/mediabay.c | 5 | ||||
-rw-r--r-- | sys/arch/macppc/dev/xlights.c | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/sys/arch/macppc/dev/mediabay.c b/sys/arch/macppc/dev/mediabay.c index 2093e3babeb..c10fcee8cc1 100644 --- a/sys/arch/macppc/dev/mediabay.c +++ b/sys/arch/macppc/dev/mediabay.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mediabay.c,v 1.5 2012/12/05 23:20:13 deraadt Exp $ */ +/* $OpenBSD: mediabay.c,v 1.6 2013/11/18 20:21:51 deraadt Exp $ */ /* $NetBSD: mediabay.c,v 1.9 2003/07/15 02:43:29 lukem Exp $ */ /*- @@ -223,7 +223,8 @@ mediabay_create_kthread(v) { struct mediabay_softc *sc = v; - kthread_create(mediabay_kthread, sc, &sc->sc_kthread, "media-bay"); + kthread_create(mediabay_kthread, sc, &sc->sc_kthread, + sc->sc_dev.dv_xname); } void diff --git a/sys/arch/macppc/dev/xlights.c b/sys/arch/macppc/dev/xlights.c index daf2e0e2603..ef76ac30f3c 100644 --- a/sys/arch/macppc/dev/xlights.c +++ b/sys/arch/macppc/dev/xlights.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xlights.c,v 1.5 2011/05/15 09:10:26 mpi Exp $ */ +/* $OpenBSD: xlights.c,v 1.6 2013/11/18 20:21:51 deraadt Exp $ */ /* * Copyright (c) 2007 Gordon Willem Klok <gwk@openbsd,org> * @@ -210,7 +210,9 @@ nodma: void xlights_deferred(void *v) { - kthread_create(xlights_theosDOT, v, NULL, "xlights"); + struct xlights_softc *sc = (struct xlights_softc *)v; + + kthread_create(xlights_theosDOT, v, NULL, sc->sc_dev.dv_xname); } /* |