Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 2006 01:38:32 GMT
From:      Ryan Beasley <ryanb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 100108 for review
Message-ID:  <200606270138.k5R1cWL9064692@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=100108

Change 100108 by ryanb@ryanb_yuki on 2006/06/27 01:37:40

	Minor alteration to "oss_mixer_enuminfo too small" warning.

Affected files ...

.. //depot/projects/soc2006/rbeasley_sound/sys/dev/sound/pcm/mixer.c#6 edit

Differences ...

==== //depot/projects/soc2006/rbeasley_sound/sys/dev/sound/pcm/mixer.c#6 (text+ko) ====

@@ -326,10 +326,13 @@
 			 * XXX I don't think this should ever be possible.
 			 * Even with a move to dynamic device/channel names,
 			 * each label is limited to ~16 characters, so that'd
-			 * take a LOT to fill this buffer.  panic()?
+			 * take a LOT to fill this buffer.
 			 */
 			if ((nleft <= 0) || (nvalues >= OSS_ENUM_MAXVALUE)) {
-				printf("mix_setrecdevs: enuminfo too small");
+				device_printf(m->dev,
+				    "mix_setrecdevs:  Not enough room to store device names--please file a bug report.\n");
+				device_printf(m->dev, 
+				    "mix_setrecdevs:  Please include details about your sound hardware, OS version, etc.\n");
 				break;
 			}
 



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