summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-11-13 05:00:12 +0000
committermarcel <marcel@FreeBSD.org>2004-11-13 05:00:12 +0000
commit69615940956025a5e3885ba5f9b40982cfa43c7e (patch)
treed5bf17b02d7a47f3c856c2f2b4c6e29a5c1cd629 /sbin
parent619b5d9b025146f6bbf2334dcdfa9e724751d89e (diff)
downloadFreeBSD-src-69615940956025a5e3885ba5f9b40982cfa43c7e.zip
FreeBSD-src-69615940956025a5e3885ba5f9b40982cfa43c7e.tar.gz
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'.
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud