summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2000-02-01 17:39:34 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2000-02-01 17:39:34 +0000
commit00e2d83579a628087496d77321547374d28dd089 (patch)
tree99d70ec0f2b635652cd049c6ab7b45120d85c66b /sys/dev/pcmcia
parent6e8604dddeab28387061ab50073cbece3962a417 (diff)
oops, return 0 if not match.
Diffstat (limited to 'sys/dev/pcmcia')
-rw-r--r--sys/dev/pcmcia/if_cnw.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/pcmcia/if_cnw.c b/sys/dev/pcmcia/if_cnw.c
index 560317fa580..716775079e1 100644
--- a/sys/dev/pcmcia/if_cnw.c
+++ b/sys/dev/pcmcia/if_cnw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_cnw.c,v 1.3 2000/02/01 17:00:04 fgsch Exp $ */
+/* $OpenBSD: if_cnw.c,v 1.4 2000/02/01 17:39:33 fgsch Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -360,10 +360,11 @@ cnw_match(parent, match, aux)
if (pa->manufacturer == PCMCIA_VENDOR_XIRCOM &&
pa->product == PCMCIA_PRODUCT_XIRCOM_XIR_CNW_801)
- return 1;
+ return (1);
if (pa->manufacturer == PCMCIA_VENDOR_XIRCOM &&
pa->product == PCMCIA_PRODUCT_XIRCOM_XIR_CNW_802)
- return 1;
+ return (1);
+ return (0);
}