Date: Sat, 13 Nov 2004 12:13:37 +0100 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Marcel Moolenaar <marcel@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/md md.c Message-ID: <20041113111337.GQ8120@darkness.comp.waw.pl> In-Reply-To: <200411130500.iAD50C2G065800@repoman.freebsd.org> References: <200411130500.iAD50C2G065800@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--qKjsupNRLbaULa5O Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 13, 2004 at 05:00:12AM +0000, Marcel Moolenaar wrote: +> marcel 2004-11-13 05:00:12 UTC +>=20 +> FreeBSD src repository +>=20 +> Modified files: +> sys/dev/md md.c=20 +> Log: +> Fix the MDIOCDETACH ioctl() for md(4). Now that the md_file field in +> the mdio structure is an array and not a pointer, we cannot test for +> it to be NULL. It never is. Instead, test for md_file[0] to be '\0'. My fault, thanks. --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --qKjsupNRLbaULa5O Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBlexhForvXbEpPzQRArknAKD6Ok4Rc/BmFhb6ubHrSCGBQYNx+gCfVLxg tQ/lomoxxyV51GHG94F5rQc= =H8e4 -----END PGP SIGNATURE----- --qKjsupNRLbaULa5O--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041113111337.GQ8120>