Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Nov 2004 05:00:12 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/md md.c
Message-ID:  <200411130500.iAD50C2G065800@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411130500.iAD50C2G065800>