Hide version string under verbose.

Approved by:	mav
This commit is contained in:
Joel Dahl 2013-03-16 17:57:00 +00:00
parent aa8bd99d99
commit 0ac77cbf8f

View File

@ -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);