cvs commit: src/sys/dev/sound/pcm sound.c
Ariff Abdullah
ariff at FreeBSD.org
Mon Jun 4 09:06:06 UTC 2007
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
More information about the cvs-all
mailing list