More verbose output.

This commit is contained in:
Warner Losh 2018-02-20 05:35:00 +00:00
parent bb4b11cf98
commit c798d98e75

View File

@ -427,6 +427,8 @@ search_hints(const char *bus, const char *dev, const char *pnpinfo)
asprintf(&descr, "%s: %s", *dev ? dev : "unattached", lastmod);
else
asprintf(&descr, "%s", lastmod);
if (verbose_flag)
printf("Matches --- %s ---\n", lastmod);
if (descr != NULL && hit_index < DEVMATCH_MAX_HITS) {
match_data[hit_index].descr = descr;