Hide version string under verbose.
Approved by: mav
This commit is contained in:
parent
aa8bd99d99
commit
0ac77cbf8f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user