diff --git a/sys/dev/an/if_an_pccard.c b/sys/dev/an/if_an_pccard.c index d1a19aa1359a..3cd9223d0c42 100644 --- a/sys/dev/an/if_an_pccard.c +++ b/sys/dev/an/if_an_pccard.c @@ -124,11 +124,11 @@ an_pccard_match(device_t dev) const struct pccard_product *pp; if ((pp = pccard_product_lookup(dev, an_pccard_products, - sizeof(an_pccard_products[0]), NULL)) != NULL) { - device_set_desc(dev, pp->pp_name); - return 0; + sizeof(an_pccard_products[0]), NULL)) != NULL) { + device_set_desc(dev, pp->pp_name); + return (0); } - return ENXIO; + return (ENXIO); } static int