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

Marcel Moolenaar marcel at FreeBSD.org
Fri Nov 12 21:00:13 PST 2004


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'.
  
  Revision  Changes    Path
  1.145     +1 -1      src/sys/dev/md/md.c


More information about the cvs-all mailing list