svn commit: r338314 - head/sbin/devmatch

Warner Losh imp at FreeBSD.org
Sat Aug 25 15:47:54 UTC 2018


Author: imp
Date: Sat Aug 25 15:47:52 2018
New Revision: 338314
URL: https://svnweb.freebsd.org/changeset/base/338314

Log:
  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

Modified:
  head/sbin/devmatch/devmatch.c

Modified: head/sbin/devmatch/devmatch.c
==============================================================================
--- head/sbin/devmatch/devmatch.c	Sat Aug 25 15:31:23 2018	(r338313)
+++ head/sbin/devmatch/devmatch.c	Sat Aug 25 15:47:52 2018	(r338314)
@@ -386,7 +386,7 @@ search_hints(const char *bus, const char *dev, const c
 						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);
 					}


More information about the svn-src-head mailing list