From 4a82f3685176706671af0b09a668acc86ee8de64 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 25 Aug 2018 15:47:52 +0000 Subject: [PATCH] Add in a missing newline In the conversion, the newline got stripped. It worked fine when there was only one module, but not when there are many. Add back the missing newline. Approved by: re@ (kib) PR: 230868 Differential Revision: https://reviews.freebsd.org/D16895 --- sbin/devmatch/devmatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/devmatch/devmatch.c b/sbin/devmatch/devmatch.c index bc3a4e1f03a5..938760bec32f 100644 --- a/sbin/devmatch/devmatch.c +++ b/sbin/devmatch/devmatch.c @@ -386,7 +386,7 @@ search_hints(const char *bus, const char *dev, const char *pnpinfo) if (all_flag) printf("%s: %s", *dev ? dev : "unattached", lastmod); else - printf("%s", lastmod); + printf("%s\n", lastmod); if (verbose_flag) printf("Matches --- %s ---\n", lastmod); }