diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-09-14 14:37:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-09-14 14:37:41 +0000 |
commit | 01fecc3d2fcbcf0d41de1e785c7ea4815b21f8cf (patch) | |
tree | 9ea237c22c97c997b83894a1a6f9e9a6e3deaff3 /sys | |
parent | 9f2d925dffdb4c245e7ccf857babe10c77b17518 (diff) |
correct type printing
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/usb/uplcom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uplcom.c b/sys/dev/usb/uplcom.c index 6fa12df84fa..8dac1dacc45 100644 --- a/sys/dev/usb/uplcom.c +++ b/sys/dev/usb/uplcom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uplcom.c,v 1.45 2007/09/13 02:02:20 deraadt Exp $ */ +/* $OpenBSD: uplcom.c,v 1.46 2007/09/14 14:37:40 deraadt Exp $ */ /* $NetBSD: uplcom.c,v 1.29 2002/09/23 05:51:23 simonb Exp $ */ /* * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -290,7 +290,7 @@ uplcom_attach(struct device *parent, struct device *self, void *aux) #ifdef USB_DEBUG /* print the chip type */ - if (sc->sc_type_hx == TYPE_PL2303X) { + if (sc->sc_type_hx) { DPRINTF(("uplcom_attach: chiptype 2303X\n")); } else { DPRINTF(("uplcom_attach: chiptype 2303\n")); |