cvs commit: src/sys/dev/md md.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Sat Nov 13 03:13:39 PST 2004


On Sat, Nov 13, 2004 at 05:00:12AM +0000, Marcel Moolenaar wrote:
+> marcel      2004-11-13 05:00:12 UTC
+> 
+>   FreeBSD src repository
+> 
+>   Modified files:
+>     sys/dev/md           md.c 
+>   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.

-- 
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd at FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20041113/888b04e8/attachment.bin


More information about the cvs-all mailing list