From c798d98e75c7410f31a7760ec734221ff920b84d Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Tue, 20 Feb 2018 05:35:00 +0000 Subject: [PATCH] More verbose output. --- sbin/devmatch/devmatch.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sbin/devmatch/devmatch.c b/sbin/devmatch/devmatch.c index 1f80f0f42d1f..9c03179f7f46 100644 --- a/sbin/devmatch/devmatch.c +++ b/sbin/devmatch/devmatch.c @@ -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;