diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/usb/umcs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/umcs.c b/sys/dev/usb/umcs.c index fb90882718a..9a3be56cc57 100644 --- a/sys/dev/usb/umcs.c +++ b/sys/dev/usb/umcs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: umcs.c,v 1.5 2017/08/10 15:11:34 mpi Exp $ */ +/* $OpenBSD: umcs.c,v 1.6 2017/10/09 08:26:16 mpi Exp $ */ /* $NetBSD: umcs.c,v 1.8 2014/08/23 21:37:56 martin Exp $ */ /* $FreeBSD: head/sys/dev/usb/serial/umcs.c 260559 2014-01-12 11:44:28Z hselasky $ */ @@ -209,7 +209,7 @@ umcs_attach(struct device *parent, struct device *self, void *aux) * * Also, see notes in header file for these constants. */ - if (!umcs_get_reg(sc, UMCS_GPIO, &data)) { + if (umcs_get_reg(sc, UMCS_GPIO, &data)) { printf("%s: unable to get number of ports\n", DEVNAME(sc)); usbd_deactivate(sc->sc_udev); return; |