Index: stat.c =================================================================== --- stat.c (revision 19371) +++ stat.c (revision 19372) @@ -305,6 +305,7 @@ hole++; if ((proto != NULL) && (proto->mech_idx >= 0)) { hole++; + slot++; num_slots++; } } @@ -317,7 +318,7 @@ } /* a part is considered smd if it has at most half as many holes as terminals total */ - if (hole*2 < all) + if ((hole*2 + slot*2) < all) num_esmd++; htsi_uninit(&t);