diff --git a/usr.sbin/pccard/pccardd/cardd.c b/usr.sbin/pccard/pccardd/cardd.c index 8f38d0b5d182..9b31a7711c03 100644 --- a/usr.sbin/pccard/pccardd/cardd.c +++ b/usr.sbin/pccard/pccardd/cardd.c @@ -363,7 +363,7 @@ card_inserted(struct slot *sp) } if ((sp->config = assign_driver(cp)) == NULL) return; - if (err = assign_io(sp)) { + if ((err = assign_io(sp))) { char *reason; switch (err) {