buildmatch
int buildmatch(const char *match_str, struct devstat_match **matches,
if (buildmatch(tstr[i], &matches, &num_matches) != 0) {
if (buildmatch(optarg, &matches, &num_matches) != 0)
if (buildmatch("da", &matches, &num_matches) != 0)
if (buildmatch(optarg, &matches,