Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2013 17:57:01 +0000 (UTC)
From:      Joel Dahl <joel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r248381 - head/sys/dev/sound/pcm
Message-ID:  <201303161757.r2GHv1AG049474@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: joel (doc committer)
Date: Sat Mar 16 17:57:00 2013
New Revision: 248381
URL: http://svnweb.freebsd.org/changeset/base/248381

Log:
  Hide version string under verbose.
  
  Approved by:	mav

Modified:
  head/sys/dev/sound/pcm/sndstat.c

Modified: head/sys/dev/sound/pcm/sndstat.c
==============================================================================
--- head/sys/dev/sound/pcm/sndstat.c	Sat Mar 16 17:38:59 2013	(r248380)
+++ head/sys/dev/sound/pcm/sndstat.c	Sat Mar 16 17:57:00 2013	(r248381)
@@ -345,8 +345,12 @@ sndstat_prepare(struct sbuf *s)
 	struct snddev_info *d;
     	int i, j;
 
-	sbuf_printf(s, "FreeBSD Audio Driver (newpcm: %ubit %d/%s)\n",
-	    (u_int)sizeof(intpcm32_t) << 3, SND_DRV_VERSION, MACHINE_ARCH);
+	if (snd_verbose > 0) {
+		sbuf_printf(s, "FreeBSD Audio Driver (%ubit %d/%s)\n",
+		    (u_int)sizeof(intpcm32_t) << 3, SND_DRV_VERSION,
+		    MACHINE_ARCH);
+	}
+
 	if (SLIST_EMPTY(&sndstat_devlist)) {
 		sbuf_printf(s, "No devices installed.\n");
 		sbuf_finish(s);



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