diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 1999-08-19 08:18:40 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 1999-08-19 08:18:40 +0000 |
commit | d2fb3e6b4d34b003fb7e2146e053140c3217b39a (patch) | |
tree | 1e7bc152528eb7d8d7785f44f69a71913ca62d79 /sys/dev/usb/usb.c | |
parent | 8faaaa88c31e033130b9fb704cae7379c0fe21ca (diff) |
Sync with NetBSD.
Diffstat (limited to 'sys/dev/usb/usb.c')
-rw-r--r-- | sys/dev/usb/usb.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c index 947f0f9e1ba..b343778ed8d 100644 --- a/sys/dev/usb/usb.c +++ b/sys/dev/usb/usb.c @@ -1,5 +1,5 @@ -/* $OpenBSD: usb.c,v 1.2 1999/08/16 22:08:49 fgsch Exp $ */ -/* $NetBSD: usb.c,v 1.15 1999/08/02 19:36:48 augustss Exp $ */ +/* $OpenBSD: usb.c,v 1.3 1999/08/19 08:18:39 fgsch Exp $ */ +/* $NetBSD: usb.c,v 1.17 1999/08/17 16:06:21 augustss Exp $ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -191,10 +191,10 @@ usb_create_event_thread(arg) { struct usb_softc *sc = arg; -#if defined(__OpenBSD__) - if (kthread_create(usb_event_thread, sc, &sc->event_thread, -#else +#if !defined(__OpenBSD__) if (kthread_create1(usb_event_thread, sc, &sc->event_thread, +#else + if (kthread_create(usb_event_thread, sc, &sc->event_thread, #endif "%s", sc->sc_dev.dv_xname)) { printf("%s: unable to create event thread for\n", |