ariff 2007-06-04 09:06:05 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/dev/sound/pcm sound.c
Log:
MFC:
Simmilar, but different treatment:
Insert NULL pointer checking around devclass_get_maxunit(pcm_devclass, ..) .
Things can get ugly without it due to uninitialized class.
err.. perhaps we should teach devclass_get_maxunit() to return -1 ?
Revision Changes Path
1.93.2.5 +2 -1 src/sys/dev/sound/pcm/sound.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"