diff options
author | David Leonard <d@cvs.openbsd.org> | 1999-08-19 06:38:25 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 1999-08-19 06:38:25 +0000 |
commit | 73353a64d2f018d91ad59d83432a89c8c91b0017 (patch) | |
tree | 36945ca8482e97966bb22ef7191f06c968e0be4d /sys | |
parent | 951c354b6281f6befa5382b7191073ea15f731d9 (diff) |
test vendor id against PCMCIA_VENDOR_INVALID, not against 0
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pcmcia/if_rln_pcmcia.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pcmcia/if_rln_pcmcia.c b/sys/dev/pcmcia/if_rln_pcmcia.c index 7037868e5af..934c1a891fb 100644 --- a/sys/dev/pcmcia/if_rln_pcmcia.c +++ b/sys/dev/pcmcia/if_rln_pcmcia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_rln_pcmcia.c,v 1.5 1999/08/18 06:06:13 fgsch Exp $ */ +/* $OpenBSD: if_rln_pcmcia.c,v 1.6 1999/08/19 06:38:24 d Exp $ */ /* * David Leonard <d@openbsd.org>, 1999. Public domain. * @@ -230,7 +230,7 @@ rln_pcmcia_attach(parent, self, aux) sc->sc_dev.dv_xname); #ifdef DIAGNOSTIC - if (rpp->manufacturer == 0) + if (rpp->manufacturer == PCMCIA_VENDOR_INVALID) printf(" manf %04x prod %04x", pa->manufacturer, pa->product); #endif |