diff options
author | 1999-08-19 06:38:24 +0000 | |
---|---|---|
committer | 1999-08-19 06:38:24 +0000 | |
commit | 98a2a8704f5a2fc5f83c09210fdca291df598af3 (patch) | |
tree | da3db358c141c74400183146bd8f26ed0e98fa32 | |
parent | increase size of register copies for debugging (diff) | |
download | wireguard-openbsd-98a2a8704f5a2fc5f83c09210fdca291df598af3.tar.xz wireguard-openbsd-98a2a8704f5a2fc5f83c09210fdca291df598af3.zip |
test vendor id against PCMCIA_VENDOR_INVALID, not against 0
-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 |