From 9723ae9182eca3236bc2d7a24c84fda6787c3cb2 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Mon, 17 Jun 2002 15:47:10 +0000 Subject: [PATCH] bitwise and should be logical and --- comedi/drivers/amcc_s5933.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comedi/drivers/amcc_s5933.c b/comedi/drivers/amcc_s5933.c index 377679cc..234d7d64 100644 --- a/comedi/drivers/amcc_s5933.c +++ b/comedi/drivers/amcc_s5933.c @@ -182,7 +182,7 @@ struct pcilst_struct *select_and_alloc_pci_card(unsigned short vendor_id, unsign { struct pcilst_struct *card; - if ((pci_bus<1)&(pci_slot<1)) { // use autodetection + if ((pci_bus<1)&&(pci_slot<1)) { // use autodetection if ((card=find_free_pci_card_by_device(vendor_id,device_id))==NULL) { rt_printk(" - Unused card not found in system!\n"); return NULL; -- 2.26.2