PERFORCE change 100108 for review

Ryan Beasley ryanb at FreeBSD.org
Tue Jun 27 01:38:33 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=100108

Change 100108 by ryanb at 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;
 			}
 


More information about the p4-projects mailing list