More verbose output.

This commit is contained in:
Warner Losh 2018-02-20 05:35:00 +00:00
parent bb4b11cf98
commit c798d98e75
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=329633

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;