summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound
diff options
context:
space:
mode:
authorjoel <joel@FreeBSD.org>2013-03-16 17:57:00 +0000
committerjoel <joel@FreeBSD.org>2013-03-16 17:57:00 +0000
commit44d915cf60f5e9b16ab6ce306bfe24ac750a1396 (patch)
treedf42c84655723fb1db8a74ae55bbf831dc1a1d03 /sys/dev/sound
parentf4837a2e6313ecc34b76db756f9488926534b3d9 (diff)
downloadFreeBSD-src-44d915cf60f5e9b16ab6ce306bfe24ac750a1396.zip
FreeBSD-src-44d915cf60f5e9b16ab6ce306bfe24ac750a1396.tar.gz
Hide version string under verbose.
Approved by: mav
Diffstat (limited to 'sys/dev/sound')
-rw-r--r--sys/dev/sound/pcm/sndstat.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/sound/pcm/sndstat.c b/sys/dev/sound/pcm/sndstat.c
index 7171065..c11eaa3 100644
--- a/sys/dev/sound/pcm/sndstat.c
+++ b/sys/dev/sound/pcm/sndstat.c
@@ -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);
OpenPOWER on IntegriCloud