Date: Wed, 19 Dec 2007 22:05:07 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_bus.c Message-ID: <200712192205.lBJM5776059041@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2007-12-19 22:05:07 UTC
FreeBSD src repository
Modified files:
sys/kern subr_bus.c
Log:
When devclass_get_maxunit is passed a NULL, return -1 to indicate that
there's nothing allocated at all yet.
Revision Changes Path
1.203 +4 -1 src/sys/kern/subr_bus.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712192205.lBJM5776059041>
