Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2018 15:47:53 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r338314 - head/sbin/devmatch
Message-ID:  <201808251547.w7PFlrsl083094@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 					}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808251547.w7PFlrsl083094>